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.rpg
Affichage.java.html
corrigé
Clement COLMERAUER
commited
2fce22c
at 2024-10-07 10:30:57
Affichage.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>Affichage.java</h1> <table class="src"> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_1'/> 1 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_1'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>package re.forestier.edu.rpg;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_2'/> 2 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_2'></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@7dfd3c81_3'/> 3 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_3'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''>public class Affichage {</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_4'/> 4 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_4'></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@7dfd3c81_5'/> 5 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_5'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> public static String afficherJoueur(player player) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_6'/> 6 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_6'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> final String[] finalString = {"Joueur " + player.Avatar_name + " joué par " + player.playerName};</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_7'/> 7 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_7'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> finalString[0] += "\nNiveau : " + player.retrieveLevel() + " (XP totale : " + player.xp + ")";</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_8'/> 8 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_8'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> finalString[0] += "\n\nCapacités :";</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_9'/> 9 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_9'>1</a> <span> 1. afficherJoueur : removed call to java/util/HashMap::forEach → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.abilities.forEach((name, level) -> {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_10'/> 10 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_10'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> finalString[0] += "\n " + name + " : " + level;</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_11'/> 11 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_11'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> });</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_12'/> 12 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_12'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> finalString[0] += "\n\nInventaire :";</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_13'/> 13 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_13'>1</a> <span> 1. afficherJoueur : removed call to java/util/ArrayList::forEach → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.inventory.forEach(item -> {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_14'/> 14 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_14'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> finalString[0] += "\n " + item;</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_15'/> 15 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_15'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> });</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_16'/> 16 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_16'></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@7dfd3c81_17'/> 17 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_17'>1</a> <span> 1. afficherJoueur : replaced return value with "" for re/forestier/edu/rpg/Affichage::afficherJoueur → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> return finalString[0];</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_18'/> 18 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_18'></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@7dfd3c81_19'/> 19 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_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@7dfd3c81_9'>9</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_9'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>afficherJoueur<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testAfficage()]</span></span> removed call to java/util/HashMap::forEach → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_13'>13</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_13'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>afficherJoueur<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testAfficage()]</span></span> removed call to java/util/ArrayList::forEach → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@7dfd3c81_17'>17</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@7dfd3c81_17'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>afficherJoueur<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testAfficage()]</span></span> replaced return value with "" for re/forestier/edu/rpg/Affichage::afficherJoueur → KILLED</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> <li>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testAfficage()] (0 ms)</li><li>re.forestier.edu.GlobalTest.[engine:junit-jupiter]/[class:re.forestier.edu.GlobalTest]/[method:testAffichageBase()] (135 ms)</li> </ul> <br/> Report generated by <a href='https://pitest.org'>PIT</a> 1.15.0 </body> </html>