422 lines
11 KiB
HTML
422 lines
11 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html;charset=windows-1250">
|
||
|
<link rel="stylesheet" type="text/css" href="../style.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
|
||
|
<h1>UsBMI.java</h1>
|
||
|
|
||
|
<table class="src">
|
||
|
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_1'/>
|
||
|
1
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_1'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class=''><pre><span class=''>package com.epam.bootcamp.bmi_calculator.interfacesImplements;</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_2'/>
|
||
|
2
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_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@1d6a8386_3'/>
|
||
|
3
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_3'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class=''><pre><span class=''>import com.epam.bootcamp.bmi_calculator.interfaces.UnitsInterface;</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_4'/>
|
||
|
4
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_4'></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@1d6a8386_5'/>
|
||
|
5
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_5'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class='covered'><pre><span class=''>public class UsBMI implements UnitsInterface{</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_6'/>
|
||
|
6
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_6'></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@1d6a8386_7'/>
|
||
|
7
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_7'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class=''><pre><span class=''>	private static final int usMultiplier = 703;</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_8'/>
|
||
|
8
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_8'></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@1d6a8386_9'/>
|
||
|
9
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_9'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class=''><pre><span class=''>	private double bmi;</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_10'/>
|
||
|
10
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_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@1d6a8386_11'/>
|
||
|
11
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_11'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class=''><pre><span class=''>	public double getBMI(){</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='covered'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_12'/>
|
||
|
12
|
||
|
</td>
|
||
|
<td class='killed'>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_12'>1</a>
|
||
|
<span>
|
||
|
|
||
|
1. getBMI : replaced double return with 0.0d for com/epam/bootcamp/bmi_calculator/interfacesImplements/UsBMI::getBMI → KILLED<br/>
|
||
|
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class='covered'><pre><span class='killed'>		return this.bmi;</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_13'/>
|
||
|
13
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_13'></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@1d6a8386_14'/>
|
||
|
14
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_14'></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@1d6a8386_15'/>
|
||
|
15
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_15'></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@1d6a8386_16'/>
|
||
|
16
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_16'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class=''><pre><span class=''>	 * A US mértékegységnél kell konstans, amilve meg kell szorozni a súlyt. Ezt a szorzót a usMultiplier konstans tartalmazza</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='na'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_17'/>
|
||
|
17
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_17'></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@1d6a8386_18'/>
|
||
|
18
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_18'></a>
|
||
|
<span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class=''><pre><span class=''>	public void setBMI(double weight, double height){</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='covered'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_19'/>
|
||
|
19
|
||
|
</td>
|
||
|
<td class='killed'>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_19'>3</a>
|
||
|
<span>
|
||
|
|
||
|
1. setBMI : Replaced double multiplication with division → KILLED<br/>
|
||
|
|
||
|
2. setBMI : Replaced double multiplication with division → KILLED<br/>
|
||
|
|
||
|
3. setBMI : Replaced double division with multiplication → KILLED<br/>
|
||
|
|
||
|
</span>
|
||
|
</span>
|
||
|
</td>
|
||
|
<td class='covered'><pre><span class='killed'>		this.bmi = usMultiplier*weight/(height*height); // számolja a US bmi-t</span></pre></td></tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td class='covered'>
|
||
|
<a name='org.pitest.mutationtest.report.html.SourceFile@1d6a8386_20'/>
|
||
|
20
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_20'></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@1d6a8386_21'/>
|
||
|
21
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_21'></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@1d6a8386_22'/>
|
||
|
22
|
||
|
</td>
|
||
|
<td class=''>
|
||
|
<span class='pop'>
|
||
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_22'></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@1d6a8386_12'>12</a></td>
|
||
|
<td></td>
|
||
|
<td>
|
||
|
|
||
|
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_12'/>
|
||
|
|
||
|
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>getBMI<br/><b>Killed by : </b>com.epam.bootcamp.bmi_calculator.BMITest.BMITest7(com.epam.bootcamp.bmi_calculator.BMITest)</span></span> replaced double return with 0.0d for com/epam/bootcamp/bmi_calculator/interfacesImplements/UsBMI::getBMI → KILLED</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@1d6a8386_19'>19</a></td>
|
||
|
<td></td>
|
||
|
<td>
|
||
|
|
||
|
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@1d6a8386_19'/>
|
||
|
|
||
|
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>setBMI<br/><b>Killed by : </b>com.epam.bootcamp.bmi_calculator.BMITest.BMITest7(com.epam.bootcamp.bmi_calculator.BMITest)</span></span> Replaced double multiplication with division → KILLED</p> <p class='KILLED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>setBMI<br/><b>Killed by : </b>com.epam.bootcamp.bmi_calculator.BMITest.BMITest7(com.epam.bootcamp.bmi_calculator.BMITest)</span></span> Replaced double multiplication with division → KILLED</p> <p class='KILLED'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>setBMI<br/><b>Killed by : </b>com.epam.bootcamp.bmi_calculator.BMITest.BMITest7(com.epam.bootcamp.bmi_calculator.BMITest)</span></span> Replaced double division with multiplication → 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>com.epam.bootcamp.bmi_calculator.BMITest.BMITest7(com.epam.bootcamp.bmi_calculator.BMITest) (0 ms)</li><li>com.epam.bootcamp.bmi_calculator.BMITest.BMITest8(com.epam.bootcamp.bmi_calculator.BMITest) (0 ms)</li><li>com.epam.bootcamp.bmi_calculator.BMITest.BMITest20(com.epam.bootcamp.bmi_calculator.BMITest) (16 ms)</li><li>com.epam.bootcamp.bmi_calculator.BMITest.BMITest6(com.epam.bootcamp.bmi_calculator.BMITest) (1 ms)</li><li>com.epam.bootcamp.bmi_calculator.BMITest.BMITest15(com.epam.bootcamp.bmi_calculator.BMITest) (19 ms)</li><li>com.epam.bootcamp.bmi_calculator.BMITest.BMITest18(com.epam.bootcamp.bmi_calculator.BMITest) (3 ms)</li>
|
||
|
</ul>
|
||
|
|
||
|
<br/>
|
||
|
|
||
|
Report generated by <a href='http://pitest.org'>PIT</a> 1.8.1
|
||
|
|
||
|
</body>
|
||
|
</html>
|