Portfolio Code | Clement Colmerauer
Repositories
Site
Kata refactoring
Code
Commits
Branches
Tags
Search
Tree:
2fce22c
Branches
Tags
master
Kata refactoring
build
reports
pitest
re.forestier.edu
Main.java.html
corrigé
Clement COLMERAUER
commited
2fce22c
at 2024-10-07 10:30:57
Main.java.html
Blame
History
Raw
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../style.css"> </head> <body> <h1>Main.java</h1> <table class="src"> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_1'/> 1 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_1'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>package re.forestier.edu;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_2'/> 2 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_2'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>import re.forestier.edu.rpg.Affichage;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_3'/> 3 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_3'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>import re.forestier.edu.rpg.UpdatePlayer;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_4'/> 4 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_4'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>import re.forestier.edu.rpg.player;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_5'/> 5 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_5'></a> <span> </span> </span> </td> <td class=''><pre><span class=''></span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_6'/> 6 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_6'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>import java.util.ArrayList;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_7'/> 7 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_7'></a> <span> </span> </span> </td> <td class=''><pre><span class=''></span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_8'/> 8 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_8'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''>public class Main {</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_9'/> 9 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_9'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> public static void main(String[] args) {</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_10'/> 10 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_10'></a> <span> </span> </span> </td> <td class='uncovered'><pre><span class=''> player firstPlayer = new player("Florian", "Ruzberg de Rivehaute", "DWARF", 200, new ArrayList<>());</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_11'/> 11 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_11'>1</a> <span> 1. main : removed call to re/forestier/edu/rpg/player::addMoney → NO_COVERAGE<br/> </span> </span> </td> <td class='uncovered'><pre><span class='survived'> firstPlayer.addMoney(400);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_12'/> 12 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_12'></a> <span> </span> </span> </td> <td class=''><pre><span class=''></span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_13'/> 13 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_13'></a> <span> </span> </span> </td> <td class='uncovered'><pre><span class=''> UpdatePlayer.addXp(firstPlayer, 15);</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_14'/> 14 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_14'>1</a> <span> 1. main : removed call to java/io/PrintStream::println → NO_COVERAGE<br/> </span> </span> </td> <td class='uncovered'><pre><span class='survived'> System.out.println(Affichage.afficherJoueur(firstPlayer));</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_15'/> 15 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_15'>1</a> <span> 1. main : removed call to java/io/PrintStream::println → NO_COVERAGE<br/> </span> </span> </td> <td class='uncovered'><pre><span class='survived'> System.out.println("------------------");</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_16'/> 16 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_16'></a> <span> </span> </span> </td> <td class='uncovered'><pre><span class=''> UpdatePlayer.addXp(firstPlayer, 20);</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_17'/> 17 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_17'>1</a> <span> 1. main : removed call to java/io/PrintStream::println → NO_COVERAGE<br/> </span> </span> </td> <td class='uncovered'><pre><span class='survived'> System.out.println(Affichage.afficherJoueur(firstPlayer));</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_18'/> 18 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_18'></a> <span> </span> </span> </td> <td class='uncovered'><pre><span class=''> }</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@5276d6ee_19'/> 19 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_19'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>}</span></pre></td></tr> <tr><td></td><td></td><td><h2>Mutations</h2></td></tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@5276d6ee_11'>11</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_11'/> <p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to re/forestier/edu/rpg/player::addMoney → NO_COVERAGE</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@5276d6ee_14'>14</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_14'/> <p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::println → NO_COVERAGE</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@5276d6ee_15'>15</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_15'/> <p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::println → NO_COVERAGE</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@5276d6ee_17'>17</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@5276d6ee_17'/> <p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::println → NO_COVERAGE</p> </td> </tr> </table> <h2>Active mutators</h2> <ul> <li class='mutator'>CONDITIONALS_BOUNDARY</li> <li class='mutator'>EMPTY_RETURNS</li> <li class='mutator'>FALSE_RETURNS</li> <li class='mutator'>INCREMENTS</li> <li class='mutator'>INVERT_NEGS</li> <li class='mutator'>MATH</li> <li class='mutator'>NEGATE_CONDITIONALS</li> <li class='mutator'>NULL_RETURNS</li> <li class='mutator'>PRIMITIVE_RETURNS</li> <li class='mutator'>TRUE_RETURNS</li> <li class='mutator'>VOID_METHOD_CALLS</li> </ul> <h2>Tests examined</h2> <ul> </ul> <br/> Report generated by <a href='https://pitest.org'>PIT</a> 1.15.0 </body> </html>