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
UpdatePlayer.java.html
corrigé
Clement COLMERAUER
commited
2fce22c
at 2024-10-07 10:30:57
UpdatePlayer.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>UpdatePlayer.java</h1> <table class="src"> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_1'/> 1 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_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@1b1cfb87_2'/> 2 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_2'></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@1b1cfb87_3'/> 3 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_3'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>import java.util.HashMap;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_4'/> 4 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_4'></a> <span> </span> </span> </td> <td class=''><pre><span class=''>import java.util.Random;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_5'/> 5 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_5'></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@1b1cfb87_6'/> 6 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_6'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''>public class UpdatePlayer {</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_7'/> 7 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_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@1b1cfb87_8'/> 8 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_8'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> private final static String[] objectList = {"Lookout Ring : Prevents surprise attacks","Scroll of Stupidity : INT-2 when applied to an enemy", "Draupnir : Increases XP gained by 100%", "Magic Charm : Magic +10 for 5 rounds", "Rune Staff of Curse : May burn your ennemies... Or yourself. Who knows?", "Combat Edge : Well, that's an edge", "Holy Elixir : Recover your HP"</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_9'/> 9 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_9'></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@1b1cfb87_10'/> 10 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_10'></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@1b1cfb87_11'/> 11 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_11'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> public static HashMap<String, HashMap<Integer, HashMap<String, Integer>>> abilitiesPerTypeAndLevel() {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_12'/> 12 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_12'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, HashMap<Integer, HashMap<String, Integer>>> abilitiesPerTypeAndLevel = new HashMap<>();</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_13'/> 13 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_13'></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@1b1cfb87_14'/> 14 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_14'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<Integer, HashMap<String, Integer>> adventurerMap = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_15'/> 15 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_15'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> adventurerLevel1 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_16'/> 16 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_16'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel1.put("INT", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_17'/> 17 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_17'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel1.put("DEF", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_18'/> 18 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_18'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel1.put("ATK", 3);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_19'/> 19 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_19'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel1.put("CHA", 2);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_20'/> 20 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_20'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerMap.put(1, adventurerLevel1);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_21'/> 21 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_21'></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@1b1cfb87_22'/> 22 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_22'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> adventurerLevel2 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_23'/> 23 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_23'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel1.put("INT", 2);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_24'/> 24 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_24'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel1.put("CHA", 3);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_25'/> 25 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_25'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerMap.put(2, adventurerLevel2);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_26'/> 26 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_26'></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@1b1cfb87_27'/> 27 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_27'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> adventurerLevel3 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_28'/> 28 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_28'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel3.put("ATK", 5);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_29'/> 29 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_29'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel3.put("ALC", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_30'/> 30 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_30'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerMap.put(3, adventurerLevel3);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_31'/> 31 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_31'></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@1b1cfb87_32'/> 32 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_32'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> adventurerLevel4 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_33'/> 33 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_33'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel4.put("DEF", 3);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_34'/> 34 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_34'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerMap.put(4, adventurerLevel4);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_35'/> 35 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_35'></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@1b1cfb87_36'/> 36 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_36'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> adventurerLevel5 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_37'/> 37 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_37'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel5.put("VIS", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_38'/> 38 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_38'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerLevel5.put("DEF", 4);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_39'/> 39 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_39'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> adventurerMap.put(5, adventurerLevel5);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_40'/> 40 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_40'></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@1b1cfb87_41'/> 41 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_41'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> abilitiesPerTypeAndLevel.put("ADVENTURER", adventurerMap);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_42'/> 42 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_42'></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@1b1cfb87_43'/> 43 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_43'></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@1b1cfb87_44'/> 44 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_44'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<Integer, HashMap<String, Integer>> archerMap = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_45'/> 45 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_45'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> archerLevel1 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_46'/> 46 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_46'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel1.put("INT", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_47'/> 47 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_47'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel1.put("ATK", 3);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_48'/> 48 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_48'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel1.put("CHA", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_49'/> 49 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_49'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel1.put("VIS", 3);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_50'/> 50 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_50'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerMap.put(1, archerLevel1);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_51'/> 51 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_51'></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@1b1cfb87_52'/> 52 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_52'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> archerLevel2 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_53'/> 53 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_53'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel2.put("DEF", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_54'/> 54 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_54'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel2.put("CHA", 2);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_55'/> 55 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_55'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerMap.put(2, archerLevel2);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_56'/> 56 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_56'></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@1b1cfb87_57'/> 57 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_57'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> archerLevel3 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_58'/> 58 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_58'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel3.put("ATK", 3);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_59'/> 59 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_59'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerMap.put(3, archerLevel3);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_60'/> 60 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_60'></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@1b1cfb87_61'/> 61 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_61'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> archerLevel4 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_62'/> 62 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_62'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel4.put("DEF", 2);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_63'/> 63 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_63'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerMap.put(4, archerLevel4);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_64'/> 64 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_64'></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@1b1cfb87_65'/> 65 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_65'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> archerLevel5 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_66'/> 66 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_66'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerLevel5.put("ATK", 4);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_67'/> 67 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_67'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> archerMap.put(5, archerLevel5);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_68'/> 68 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_68'></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@1b1cfb87_69'/> 69 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_69'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> abilitiesPerTypeAndLevel.put("ARCHER", archerMap);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_70'/> 70 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_70'></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@1b1cfb87_71'/> 71 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_71'></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@1b1cfb87_72'/> 72 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_72'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<Integer, HashMap<String, Integer>> dwarf = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_73'/> 73 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_73'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> dwarfLevel1 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_74'/> 74 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_74'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel1.put("ALC", 4);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_75'/> 75 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_75'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel1.put("INT", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_76'/> 76 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_76'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel1.put("ATK", 3);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_77'/> 77 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_77'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarf.put(1, dwarfLevel1);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_78'/> 78 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_78'></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@1b1cfb87_79'/> 79 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_79'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> dwarfLevel2 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_80'/> 80 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_80'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel2.put("DEF", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_81'/> 81 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_81'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel2.put("ALC", 5);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_82'/> 82 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_82'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarf.put(2, dwarfLevel2);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_83'/> 83 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_83'></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@1b1cfb87_84'/> 84 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_84'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> dwarfLevel3 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_85'/> 85 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_85'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel3.put("ATK", 4);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_86'/> 86 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_86'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarf.put(3, dwarfLevel3);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_87'/> 87 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_87'></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@1b1cfb87_88'/> 88 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_88'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> dwarfLevel4 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_89'/> 89 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_89'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel4.put("DEF", 2);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_90'/> 90 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_90'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarf.put(4, dwarfLevel4);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_91'/> 91 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_91'></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@1b1cfb87_92'/> 92 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_92'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> dwarfLevel5 = new HashMap<>();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_93'/> 93 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_93'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarfLevel5.put("CHA", 1);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_94'/> 94 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_94'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> dwarf.put(5, dwarfLevel5);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_95'/> 95 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_95'></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@1b1cfb87_96'/> 96 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_96'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> abilitiesPerTypeAndLevel.put("DWARF", dwarf);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_97'/> 97 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_97'></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@1b1cfb87_98'/> 98 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_98'>1</a> <span> 1. abilitiesPerTypeAndLevel : replaced return value with null for re/forestier/edu/rpg/UpdatePlayer::abilitiesPerTypeAndLevel → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> return abilitiesPerTypeAndLevel;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_99'/> 99 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_99'></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@1b1cfb87_100'/> 100 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_100'></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@1b1cfb87_101'/> 101 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_101'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> public static boolean addXp(player player, int xp) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_102'/> 102 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_102'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> int currentLevel = player.retrieveLevel();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_103'/> 103 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_103'>1</a> <span> 1. addXp : Replaced integer addition with subtraction → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.xp += xp;</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_104'/> 104 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_104'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> int newLevel = player.retrieveLevel();</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_105'/> 105 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_105'></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@1b1cfb87_106'/> 106 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_106'>1</a> <span> 1. addXp : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if (newLevel != currentLevel) {</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_107'/> 107 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_107'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> // Player leveled-up!</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_108'/> 108 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_108'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> // Give a random object</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_109'/> 109 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_109'></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@1b1cfb87_110'/> 110 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_110'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> Random random = new Random();</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_111'/> 111 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_111'>2</a> <span> 1. addXp : Replaced integer subtraction with addition → SURVIVED<br/> 2. addXp : Replaced integer addition with subtraction → SURVIVED<br/> </span> </span> </td> <td class='covered'><pre><span class='survived'> player.inventory.add(objectList[random.nextInt(objectList.length - 0) + 0]);</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_112'/> 112 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_112'></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@1b1cfb87_113'/> 113 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_113'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> // Add/upgrade abilities to player</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_114'/> 114 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_114'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> HashMap<String, Integer> abilities = abilitiesPerTypeAndLevel().get(player.getAvatarClass()).get(newLevel);</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_115'/> 115 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_115'>1</a> <span> 1. addXp : removed call to java/util/HashMap::forEach → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> abilities.forEach((ability, level) -> {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_116'/> 116 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_116'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> player.abilities.put(ability, abilities.get(ability));</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_117'/> 117 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_117'></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@1b1cfb87_118'/> 118 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_118'>1</a> <span> 1. addXp : replaced boolean return with false for re/forestier/edu/rpg/UpdatePlayer::addXp → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> return true;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_119'/> 119 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_119'></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@1b1cfb87_120'/> 120 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_120'>1</a> <span> 1. addXp : replaced boolean return with true for re/forestier/edu/rpg/UpdatePlayer::addXp → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> return false;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_121'/> 121 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_121'></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@1b1cfb87_122'/> 122 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_122'></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@1b1cfb87_123'/> 123 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_123'></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@1b1cfb87_124'/> 124 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_124'></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@1b1cfb87_125'/> 125 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_125'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> // majFinDeTour met à jour les points de vie</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_126'/> 126 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_126'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> public static void majFinDeTour(player player) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_127'/> 127 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_127'>1</a> <span> 1. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(player.currenthealthpoints == 0) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_128'/> 128 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_128'>1</a> <span> 1. majFinDeTour : removed call to java/io/PrintStream::println → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> System.out.println("Le joueur est KO !");</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_129'/> 129 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_129'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> return;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_130'/> 130 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_130'></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@1b1cfb87_131'/> 131 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_131'></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@1b1cfb87_132'/> 132 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_132'>3</a> <span> 1. majFinDeTour : changed conditional boundary → KILLED<br/> 2. majFinDeTour : Replaced integer division with multiplication → KILLED<br/> 3. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(player.currenthealthpoints < player.healthpoints/2) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_133'/> 133 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_133'>1</a> <span> 1. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(!player.getAvatarClass().equals("ADVENTURER")) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_134'/> 134 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_134'>1</a> <span> 1. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(player.getAvatarClass().equals("DWARF")) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_135'/> 135 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_135'>1</a> <span> 1. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(player.inventory.contains("Holy Elixir")) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_136'/> 136 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_136'>1</a> <span> 1. majFinDeTour : Replaced integer addition with subtraction → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.currenthealthpoints+=1;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_137'/> 137 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_137'></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@1b1cfb87_138'/> 138 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_138'>1</a> <span> 1. majFinDeTour : Replaced integer addition with subtraction → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.currenthealthpoints+=1;</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_139'/> 139 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_139'>1</a> <span> 1. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> } else if(player.getAvatarClass().equals("ADVENTURER")) {</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_140'/> 140 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_140'>1</a> <span> 1. majFinDeTour : Replaced integer addition with subtraction → NO_COVERAGE<br/> </span> </span> </td> <td class='uncovered'><pre><span class='survived'> player.currenthealthpoints+=2;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_141'/> 141 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_141'></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@1b1cfb87_142'/> 142 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_142'></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@1b1cfb87_143'/> 143 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_143'></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@1b1cfb87_144'/> 144 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_144'>1</a> <span> 1. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(player.getAvatarClass().equals("ARCHER")) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_145'/> 145 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_145'>1</a> <span> 1. majFinDeTour : Replaced integer addition with subtraction → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.currenthealthpoints+=1;</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_146'/> 146 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_146'>1</a> <span> 1. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(player.inventory.contains("Magic Bow")) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_147'/> 147 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_147'>3</a> <span> 1. majFinDeTour : Replaced integer subtraction with addition → KILLED<br/> 2. majFinDeTour : Replaced integer division with multiplication → KILLED<br/> 3. majFinDeTour : Replaced integer addition with subtraction → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.currenthealthpoints+=player.currenthealthpoints/8-1;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_148'/> 148 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_148'></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@1b1cfb87_149'/> 149 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_149'></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@1b1cfb87_150'/> 150 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_150'></a> <span> </span> </span> </td> <td class=''><pre><span class=''> } else {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_151'/> 151 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_151'>1</a> <span> 1. majFinDeTour : Replaced integer addition with subtraction → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.currenthealthpoints+=2;</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_152'/> 152 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_152'>2</a> <span> 1. majFinDeTour : changed conditional boundary → KILLED<br/> 2. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> if(player.retrieveLevel() < 3) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_153'/> 153 </td> <td class='killed'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_153'>1</a> <span> 1. majFinDeTour : Replaced integer subtraction with addition → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='killed'> player.currenthealthpoints-=1;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_154'/> 154 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_154'></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@1b1cfb87_155'/> 155 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_155'></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@1b1cfb87_156'/> 156 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_156'>3</a> <span> 1. majFinDeTour : changed conditional boundary → SURVIVED<br/> 2. majFinDeTour : Replaced integer division with multiplication → SURVIVED<br/> 3. majFinDeTour : negated conditional → SURVIVED<br/> </span> </span> </td> <td class='covered'><pre><span class='survived'> } else if(player.currenthealthpoints >= player.healthpoints/2){</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_157'/> 157 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_157'>2</a> <span> 1. majFinDeTour : changed conditional boundary → SURVIVED<br/> 2. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='survived'> if(player.currenthealthpoints >= player.healthpoints) {</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_158'/> 158 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_158'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> player.currenthealthpoints = player.healthpoints;</span></pre></td></tr> <tr> <td class='covered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_159'/> 159 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_159'></a> <span> </span> </span> </td> <td class='covered'><pre><span class=''> return;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_160'/> 160 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_160'></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@1b1cfb87_161'/> 161 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_161'></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@1b1cfb87_162'/> 162 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_162'></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@1b1cfb87_163'/> 163 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_163'></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@1b1cfb87_164'/> 164 </td> <td class='survived'> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_164'>2</a> <span> 1. majFinDeTour : changed conditional boundary → SURVIVED<br/> 2. majFinDeTour : negated conditional → KILLED<br/> </span> </span> </td> <td class='covered'><pre><span class='survived'> if(player.currenthealthpoints >= player.healthpoints) {</span></pre></td></tr> <tr> <td class='uncovered'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_165'/> 165 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_165'></a> <span> </span> </span> </td> <td class='uncovered'><pre><span class=''> player.currenthealthpoints = player.healthpoints;</span></pre></td></tr> <tr> <td class='na'> <a name='org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_166'/> 166 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_166'></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@1b1cfb87_167'/> 167 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_167'></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@1b1cfb87_168'/> 168 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_168'></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@1b1cfb87_169'/> 169 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_169'></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@1b1cfb87_170'/> 170 </td> <td class=''> <span class='pop'> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_170'></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@1b1cfb87_98'>98</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_98'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>abilitiesPerTypeAndLevel<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testPlayerName()]</span></span> replaced return value with null for re/forestier/edu/rpg/UpdatePlayer::abilitiesPerTypeAndLevel → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_103'>103</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_103'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>addXp<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testRetrieveLevel()]</span></span> Replaced integer addition with subtraction → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_106'>106</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_106'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>addXp<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testRetrieveLevel()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_111'>111</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_111'/> <p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>addXp<br/><b>Killed by : </b>none</span></span> Replaced integer subtraction with addition → SURVIVED</p> <p class='SURVIVED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>addXp<br/><b>Killed by : </b>none</span></span> Replaced integer addition with subtraction → SURVIVED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_115'>115</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_115'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>addXp<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testRetrieveLevel()]</span></span> removed call to java/util/HashMap::forEach → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_118'>118</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_118'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>addXp<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testRetrieveLevel()]</span></span> replaced boolean return with false for re/forestier/edu/rpg/UpdatePlayer::addXp → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_120'>120</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_120'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>addXp<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testRetrieveLevel()]</span></span> replaced boolean return with true for re/forestier/edu/rpg/UpdatePlayer::addXp → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_127'>127</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_127'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_128'>128</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_128'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> removed call to java/io/PrintStream::println → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_132'>132</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_132'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> changed conditional boundary → KILLED</p> <p class='KILLED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer division with multiplication → KILLED</p> <p class='KILLED'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_133'>133</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_133'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_134'>134</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_134'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_135'>135</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_135'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_136'>136</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_136'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer addition with subtraction → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_138'>138</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_138'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer addition with subtraction → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_139'>139</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_139'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_140'>140</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_140'/> <p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>none</span></span> Replaced integer addition with subtraction → NO_COVERAGE</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_144'>144</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_144'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_145'>145</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_145'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer addition with subtraction → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_146'>146</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_146'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_147'>147</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_147'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer subtraction with addition → KILLED</p> <p class='KILLED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer division with multiplication → KILLED</p> <p class='KILLED'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer addition with subtraction → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_151'>151</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_151'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer addition with subtraction → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_152'>152</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_152'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> changed conditional boundary → KILLED</p> <p class='KILLED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_153'>153</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_153'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> Replaced integer subtraction with addition → KILLED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_156'>156</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_156'/> <p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>none</span></span> changed conditional boundary → SURVIVED</p> <p class='SURVIVED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>none</span></span> Replaced integer division with multiplication → SURVIVED</p> <p class='SURVIVED'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>none</span></span> negated conditional → SURVIVED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_157'>157</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_157'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> <p class='SURVIVED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>none</span></span> changed conditional boundary → SURVIVED</p> </td> </tr> <tr> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@1b1cfb87_164'>164</a></td> <td></td> <td> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@1b1cfb87_164'/> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testMajFinTour()]</span></span> negated conditional → KILLED</p> <p class='SURVIVED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>majFinDeTour<br/><b>Killed by : </b>none</span></span> changed conditional boundary → SURVIVED</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:testMajFinTour()] (0 ms)</li><li>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testRetrieveLevel()] (0 ms)</li><li>re.forestier.edu.GlobalTest.[engine:junit-jupiter]/[class:re.forestier.edu.GlobalTest]/[method:testAffichageBase()] (135 ms)</li><li>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testPlayerName()] (0 ms)</li><li>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testAddMoney()] (0 ms)</li><li>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testPlayerConstructor()] (0 ms)</li><li>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testAfficage()] (0 ms)</li><li>re.forestier.edu.UnitTests.[engine:junit-jupiter]/[class:re.forestier.edu.UnitTests]/[method:testRemoveMoney()] (1 ms)</li> </ul> <br/> Report generated by <a href='https://pitest.org'>PIT</a> 1.15.0 </body> </html>