2nd version

This commit is contained in:
ichbinGaurav 2024-01-13 21:40:37 +01:00
parent 175d840365
commit 655f78e30c
123 changed files with 7772 additions and 341 deletions

View file

@ -1,27 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<BugCollection version="4.8.3" sequence="0" timestamp="1704234198764" analysisTimestamp="1704234198769" release="">
<BugCollection version="4.8.3" sequence="0" timestamp="1705172906188" analysisTimestamp="1705172906204" release="">
<Project projectName="">
<Jar>C:\Users\gaura\eclipse-workspace\AIS\Demo1\bin\src\Loan.class</Jar>
<AuxClasspathEntry>C:\Users\gaura\eclipse-workspace\AIS\Demo1\lib\Regex.jar</AuxClasspathEntry>
<SrcDir>C:\Users\gaura\eclipse-workspace\AIS\Demo1\src</SrcDir>
</Project>
<BugInstance type="DM_DEFAULT_ENCODING" priority="1" rank="19" abbrev="Dm" category="I18N">
<Class classname="src.Loan">
<SourceLine classname="src.Loan" start="4" end="62" sourcefile="Loan.java" sourcepath="src/Loan.java"/>
</Class>
<Method classname="src.Loan" name="main" signature="([Ljava/lang/String;)V" isStatic="true">
<SourceLine classname="src.Loan" start="8" end="35" startBytecode="0" endBytecode="204" sourcefile="Loan.java" sourcepath="src/Loan.java"/>
</Method>
<Method classname="java.util.Scanner" name="&lt;init&gt;" signature="(Ljava/io/InputStream;)V" isStatic="false" role="METHOD_CALLED">
<SourceLine classname="java.util.Scanner" start="566" end="567" startBytecode="0" endBytecode="71" sourcefile="Scanner.java" sourcepath="java/util/Scanner.java"/>
</Method>
<SourceLine classname="src.Loan" start="8" end="8" startBytecode="7" endBytecode="7" sourcefile="Loan.java" sourcepath="src/Loan.java"/>
</BugInstance>
<Errors errors="0" missingClasses="0"></Errors>
<FindBugsSummary timestamp="Tue, 2 Jan 2024 23:23:18 +0100" total_classes="1" referenced_classes="16" total_bugs="0" total_size="12" num_packages="1" java_version="17" vm_version="17+35-LTS-2724" cpu_seconds="2.39" clock_seconds="1.68" peak_mbytes="198.51" alloc_mbytes="4032.00" gc_seconds="0.01">
<PackageStats package="src" total_bugs="0" total_types="1" total_size="12">
<ClassStats class="src.Loan" sourceFile="Loan.java" interface="false" size="12" bugs="0"/>
<FindBugsSummary timestamp="Sat, 13 Jan 2024 20:08:26 +0100" total_classes="1" referenced_classes="23" total_bugs="1" total_size="30" num_packages="1" java_version="17" vm_version="17+35-LTS-2724" cpu_seconds="2.08" clock_seconds="2.17" peak_mbytes="199.43" alloc_mbytes="4032.00" gc_seconds="0.01" priority_1="1">
<PackageStats package="src" total_bugs="1" total_types="1" total_size="30" priority_1="1">
<ClassStats class="src.Loan" sourceFile="Loan.java" interface="false" size="30" bugs="1" priority_1="1"/>
</PackageStats>
<FindBugsProfile>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine" totalMilliseconds="457" invocations="400" avgMicrosecondsPerInvocation="1144" maxMicrosecondsPerInvocation="16769" standardDeviationMicrosecondsPerInvocation="2209"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FieldItemSummary" totalMilliseconds="81" invocations="16" avgMicrosecondsPerInvocation="5099" maxMicrosecondsPerInvocation="19115" standardDeviationMicrosecondsPerInvocation="6446"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.JavaClassAnalysisEngine" totalMilliseconds="70" invocations="34" avgMicrosecondsPerInvocation="2058" maxMicrosecondsPerInvocation="43789" standardDeviationMicrosecondsPerInvocation="7390"/>
<ClassProfile name="edu.umd.cs.findbugs.OpcodeStack$JumpInfoFactory" totalMilliseconds="56" invocations="73" avgMicrosecondsPerInvocation="774" maxMicrosecondsPerInvocation="6008" standardDeviationMicrosecondsPerInvocation="972"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassDataAnalysisEngine" totalMilliseconds="54" invocations="402" avgMicrosecondsPerInvocation="135" maxMicrosecondsPerInvocation="6028" standardDeviationMicrosecondsPerInvocation="340"/>
<ClassProfile name="edu.umd.cs.findbugs.util.TopologicalSort" totalMilliseconds="43" invocations="367" avgMicrosecondsPerInvocation="119" maxMicrosecondsPerInvocation="1787" standardDeviationMicrosecondsPerInvocation="225"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FindNoSideEffectMethods" totalMilliseconds="42" invocations="16" avgMicrosecondsPerInvocation="2680" maxMicrosecondsPerInvocation="14646" standardDeviationMicrosecondsPerInvocation="3849"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.MethodGenFactory" totalMilliseconds="32" invocations="3" avgMicrosecondsPerInvocation="10957" maxMicrosecondsPerInvocation="31592" standardDeviationMicrosecondsPerInvocation="14591"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.NoteDirectlyRelevantTypeQualifiers" totalMilliseconds="31" invocations="16" avgMicrosecondsPerInvocation="1948" maxMicrosecondsPerInvocation="12361" standardDeviationMicrosecondsPerInvocation="3096"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.OverridingEqualsNotSymmetrical" totalMilliseconds="29" invocations="16" avgMicrosecondsPerInvocation="1818" maxMicrosecondsPerInvocation="17373" standardDeviationMicrosecondsPerInvocation="4137"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine" totalMilliseconds="499" invocations="481" avgMicrosecondsPerInvocation="1039" maxMicrosecondsPerInvocation="31198" standardDeviationMicrosecondsPerInvocation="2523"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FieldItemSummary" totalMilliseconds="128" invocations="23" avgMicrosecondsPerInvocation="5584" maxMicrosecondsPerInvocation="22038" standardDeviationMicrosecondsPerInvocation="6513"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FindNoSideEffectMethods" totalMilliseconds="89" invocations="23" avgMicrosecondsPerInvocation="3870" maxMicrosecondsPerInvocation="28843" standardDeviationMicrosecondsPerInvocation="6067"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.JavaClassAnalysisEngine" totalMilliseconds="86" invocations="50" avgMicrosecondsPerInvocation="1724" maxMicrosecondsPerInvocation="50991" standardDeviationMicrosecondsPerInvocation="7131"/>
<ClassProfile name="edu.umd.cs.findbugs.OpcodeStack$JumpInfoFactory" totalMilliseconds="80" invocations="115" avgMicrosecondsPerInvocation="703" maxMicrosecondsPerInvocation="5648" standardDeviationMicrosecondsPerInvocation="900"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassDataAnalysisEngine" totalMilliseconds="67" invocations="483" avgMicrosecondsPerInvocation="140" maxMicrosecondsPerInvocation="4595" standardDeviationMicrosecondsPerInvocation="284"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.EqualsOperandShouldHaveClassCompatibleWithThis" totalMilliseconds="54" invocations="23" avgMicrosecondsPerInvocation="2374" maxMicrosecondsPerInvocation="41891" standardDeviationMicrosecondsPerInvocation="8453"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.MethodGenFactory" totalMilliseconds="48" invocations="4" avgMicrosecondsPerInvocation="12085" maxMicrosecondsPerInvocation="46737" standardDeviationMicrosecondsPerInvocation="20008"/>
<ClassProfile name="edu.umd.cs.findbugs.util.TopologicalSort" totalMilliseconds="47" invocations="444" avgMicrosecondsPerInvocation="105" maxMicrosecondsPerInvocation="1748" standardDeviationMicrosecondsPerInvocation="202"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.NoteDirectlyRelevantTypeQualifiers" totalMilliseconds="43" invocations="23" avgMicrosecondsPerInvocation="1894" maxMicrosecondsPerInvocation="10175" standardDeviationMicrosecondsPerInvocation="2355"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.CFGFactory" totalMilliseconds="38" invocations="4" avgMicrosecondsPerInvocation="9643" maxMicrosecondsPerInvocation="35624" standardDeviationMicrosecondsPerInvocation="15012"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FunctionsThatMightBeMistakenForProcedures" totalMilliseconds="30" invocations="23" avgMicrosecondsPerInvocation="1313" maxMicrosecondsPerInvocation="5590" standardDeviationMicrosecondsPerInvocation="1562"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.OverridingEqualsNotSymmetrical" totalMilliseconds="29" invocations="23" avgMicrosecondsPerInvocation="1279" maxMicrosecondsPerInvocation="12566" standardDeviationMicrosecondsPerInvocation="2599"/>
</FindBugsProfile>
</FindBugsSummary>
<ClassFeatures></ClassFeatures>

Binary file not shown.

Binary file not shown.

View file

@ -11,15 +11,16 @@
<property name="source" value="17"/>
<property name="spotbugs.home" value="lib/spotbugs-4.8.3/lib"/>
<taskdef resource="edu/umd/cs/findbugs/anttask/tasks.properties" classpath="${spotbugs.home}/spotbugs-ant.jar"/>
<path id="pitest.path">
<pathelement location="lib/pitest-1.9.3.jar"/>
<pathelement location="lib/pitest-entry-1.9.3.jar"/>
<pathelement location="lib/pitest-ant-1.9.3.jar"/>
</path>
<taskdef name="pitest" classname="org.pitest.ant.PitestTask" classpathref="pitest.path"/>
<path id="JUnit 5.libraryclasspath">
<path id="JUnit 5.libraryclasspath">
<pathelement location="../../../.p2/pool/plugins/junit-jupiter-api_5.10.0.jar"/>
<pathelement location="../../../.p2/pool/plugins/junit-jupiter-engine_5.10.0.jar"/>
<pathelement location="../../../.p2/pool/plugins/junit-jupiter-migrationsupport_5.10.0.jar"/>
@ -38,10 +39,12 @@
<pathelement location="../../../.p2/pool/plugins/org.hamcrest_2.2.0.jar"/>
<pathelement location="../../../.p2/pool/plugins/org.hamcrest.core_2.2.0.v20230809-1000.jar"/>
</path>
<path id="Demo1.classpath">
<pathelement location="bin"/>
<path refid="JUnit 5.libraryclasspath"/>
</path>
<path id="run.Gaurav_Loan.classpath">
<path refid="Demo1.classpath"/>
<path refid="JUnit 5.libraryclasspath"/>
@ -86,6 +89,12 @@
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<antcall target="build"/>
</target>
<target name="Loan">
<java classname="src.Loan" failonerror="true" fork="yes">
<classpath refid="run.Loan.classpath"/>
</java>
</target>
<target name="Gaurav_Loan">
<mkdir dir="${junit.output.dir}"/>
<junit fork="yes" printsummary="withOutAndErr">
@ -95,11 +104,7 @@
<classpath refid="run.Gaurav_Loan.classpath"/>
</junit>
</target>
<target name="Loan">
<java classname="src.Loan" failonerror="true" fork="yes">
<classpath refid="run.Loan.classpath"/>
</java>
</target>
<target name="junitreport">
<junitreport todir="${junit.output.dir}">
<fileset dir="${junit.output.dir}">
@ -110,19 +115,19 @@
</target>
<target name="pit" depends="Gaurav_Loan">
<path id="mutation.path">
<path refid="pitest.path"/>
<path refid="run.Gaurav_Loan.classpath"/>
</path>
<!-- export feature has been activated to write mutants to file -->
<pitest features="+EXPORT" pitClasspath="pitest.path" threads="2" classPath="mutation.path" targetTests="src.*" targetClasses="src.*" reportDir="pitReports" sourceDir="src"/>
</target>
<target name="spotbugs" depends="build">
<spotbugs home="${spotbugs.home}" output="xml" outputFile="bcel-sb.xml">
<auxClasspath path="${basedir}/lib/Regex.jar"/>
<sourcePath path="${basedir}/src/"/>
<class location="${basedir}/bin/src/Loan.class"/>
</spotbugs>
<path id="mutation.path">
<path refid="pitest.path"/>
<path refid="run.Gaurav_Loan.classpath"/>
</path>
<!-- export feature has been activated to write mutants to file -->
<pitest features="+EXPORT" pitClasspath="pitest.path" threads="2" classPath="mutation.path" targetTests="src.*" targetClasses="src.*" reportDir="pitReports" sourceDir="bin"/>
</target>
<target name="spotbugs" depends="build">
<spotbugs home="${spotbugs.home}" output="xml" outputFile="bcel-sb.xml">
<auxClasspath path="${basedir}/lib/Regex.jar"/>
<sourcePath path="${basedir}/src/"/>
<class location="${basedir}/bin/src/Loan.class"/>
</spotbugs>
</target>
</project>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="0" failures="0" hostname="Gaurav" name="src.Gaurav_Loan" skipped="0" tests="1" time="0.104" timestamp="2024-01-02T22:23:05">
<testsuite errors="0" failures="0" hostname="Gaurav" name="src.Gaurav_Loan" skipped="0" tests="1" time="0.221" timestamp="2024-01-13T19:08:07">
<properties>
<property name="ant.library.dir" value="C:\Program Files\Ant\apache-ant-1.10.14\lib" />
<property name="env.NUMBER_OF_PROCESSORS" value="8" />
@ -14,7 +14,7 @@
<property name="env.CommonProgramW6432" value="C:\Program Files\Common Files" />
<property name="env.OS" value="Windows_NT" />
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-17\bin" />
<property name="sun.java.command" value="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner src.Gaurav_Loan skipNonTests=false filtertrace=true haltOnError=false haltOnFailure=false formatter=org.apache.tools.ant.taskdefs.optional.junit.OutErrSummaryJUnitResultFormatter showoutput=false outputtoformatters=true logfailedtests=true threadid=0 logtestlistenerevents=false formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\Users\gaura\eclipse-workspace\AIS\Demo1\junit\TEST-src.Gaurav_Loan.xml crashfile=C:\Users\gaura\eclipse-workspace\AIS\Demo1\junitvmwatcher6193169589681842514.properties propsfile=C:\Users\gaura\eclipse-workspace\AIS\Demo1\junit2835353753371982960.properties" />
<property name="sun.java.command" value="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner src.Gaurav_Loan skipNonTests=false filtertrace=true haltOnError=false haltOnFailure=false formatter=org.apache.tools.ant.taskdefs.optional.junit.OutErrSummaryJUnitResultFormatter showoutput=false outputtoformatters=true logfailedtests=true threadid=0 logtestlistenerevents=false formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\Users\gaura\eclipse-workspace\AIS\Demo1\junit\TEST-src.Gaurav_Loan.xml crashfile=C:\Users\gaura\eclipse-workspace\AIS\Demo1\junitvmwatcher14119630851404114113.properties propsfile=C:\Users\gaura\eclipse-workspace\AIS\Demo1\junit17703011134584805942.properties" />
<property name="jdk.debug" value="release" />
<property name="env.ComSpec" value="C:\WINDOWS\system32\cmd.exe" />
<property name="sun.stderr.encoding" value="cp437" />
@ -57,8 +57,8 @@
<property name="java.io.tmpdir" value="C:\Users\gaura\AppData\Local\Temp\" />
<property name="env.WT_PROFILE_ID" value="{61c54bbd-c2c6-5271-96e7-009a87ff44bf}" />
<property name="java.version" value="17" />
<property name="env.Path" value="C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk-21\bin;C:\Program Files\Java\jdk-21;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Ant\apache-ant-1.10.14\bin;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\;C:\Users\gaura\AppData\Local\Microsoft\WindowsApps;C:\Users\gaura\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\gaura\AppData\Roaming\npm" />
<property name="env.WT_SESSION" value="807576c7-d02e-4d38-a871-3feae2b7e7f5" />
<property name="env.Path" value="C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk-21\bin;C:\Program Files\Java\jdk-21;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Ant\apache-ant-1.10.14\bin;C:\Users\gaura\scoop\shims;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\;C:\Users\gaura\AppData\Local\Microsoft\WindowsApps;C:\Users\gaura\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\gaura\AppData\Roaming\npm" />
<property name="env.WT_SESSION" value="9b5fc8c2-2cab-4187-9b74-9dd696379925" />
<property name="env.PROCESSOR_LEVEL" value="6" />
<property name="env.HOMEDRIVE" value="C:" />
<property name="env.TMP" value="C:\Users\gaura\AppData\Local\Temp" />
@ -68,7 +68,7 @@
<property name="junit.output.dir" value="junit" />
<property name="native.encoding" value="Cp1252" />
<property name="ant.version" value="Apache Ant(TM) version 1.10.14 compiled on August 16 2023" />
<property name="java.library.path" value="C:\Program Files\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk-21\bin;C:\Program Files\Java\jdk-21;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Ant\apache-ant-1.10.14\bin;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\;C:\Users\gaura\AppData\Local\Microsoft\WindowsApps;C:\Users\gaura\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\gaura\AppData\Roaming\npm;." />
<property name="java.library.path" value="C:\Program Files\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk-21\bin;C:\Program Files\Java\jdk-21;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Ant\apache-ant-1.10.14\bin;C:\Users\gaura\scoop\shims;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\gaura\AppData\Local\Programs\Python\Python310\;C:\Users\gaura\AppData\Local\Microsoft\WindowsApps;C:\Users\gaura\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\gaura\AppData\Roaming\npm;." />
<property name="java.vendor" value="Oracle Corporation" />
<property name="env.LOGONSERVER" value="\\GAURAV" />
<property name="sun.io.unicode.encoding" value="UnicodeLittle" />
@ -119,7 +119,7 @@
<property name="env.OneDrive" value="C:\Users\gaura\OneDrive" />
<property name="ant.project.default-target" value="build" />
</properties>
<testcase classname="src.Gaurav_Loan" name="test" time="0.007" />
<testcase classname="src.Gaurav_Loan" name="test" time="0.016" />
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>

View file

@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=windows-1252">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>Pit Test Coverage Report</h1>
<h3>Project Summary</h3>
<table>
<thead>
<tr>
<th>Number of Classes</th>
<th>Line Coverage</th>
<th>Mutation Coverage</th>
<th>Test Strength</th>
</tr>
</thead>
<tbody>
<tr>
<td>2</td>
<td>54% <div class="coverage_bar"><div class="coverage_complete width-54"></div><div class="coverage_legend">19/35</div></div></td>
<td>42% <div class="coverage_bar"><div class="coverage_complete width-42"></div><div class="coverage_legend">15/36</div></div></td>
<td>54% <div class="coverage_bar"><div class="coverage_complete width-54"></div><div class="coverage_legend">15/28</div></div></td>
</tr>
</tbody>
</table>
<h3>Breakdown by Package</h3>
<table>
<thead>
<tr>
<th>Name</th>
<th>Number of Classes</th>
<th>Line Coverage</th>
<th>Mutation Coverage</th>
<th>Test Strength</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="./src/index.html">src</a></td>
<td>2</td>
<td><div class="coverage_percentage">54% </div><div class="coverage_bar"><div class="coverage_complete width-54"></div><div class="coverage_legend">19/35</div></div></td>
<td><div class="coverage_percentage">42% </div><div class="coverage_bar"><div class="coverage_complete width-42"></div><div class="coverage_legend">15/36</div></div></td>
<td><div class="coverage_percentage">54% </div><div class="coverage_bar"><div class="coverage_complete width-54"></div><div class="coverage_legend">15/28</div></div></td>
</tr>
</tbody>
</table>
<br/>
<hr/>
Report generated by <a href='http://pitest.org'>PIT</a> 1.9.3
</body>
</html>

View file

@ -0,0 +1,147 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=windows-1252">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>Gaurav_Loan.java</h1>
<table class="src">
<tr><td></td><td></td><td><h2>Mutations</h2></td></tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_10'>10</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_10'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_11'>11</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_11'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_13'>13</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_13'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_14'>14</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_14'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_16'>16</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_16'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_17'>17</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_17'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_19'>19</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_19'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@58ebfd03_20'>20</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@58ebfd03_20'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>test<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; 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>src.Gaurav_Loan.test(src.Gaurav_Loan) (15 ms)</li>
</ul>
<br/>
Report generated by <a href='http://pitest.org'>PIT</a> 1.9.3
</body>
</html>

View file

@ -0,0 +1,224 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=windows-1252">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>Loan.java</h1>
<table class="src">
<tr><td></td><td></td><td><h2>Mutations</h2></td></tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_12'>12</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_12'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::print &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_15'>15</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_15'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::print &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_18'>18</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_18'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::print &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_22'>22</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_22'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/util/Scanner::close &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_31'>31</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_31'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::print &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_32'>32</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_32'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::println &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_33'>33</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_33'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::println &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_34'>34</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_34'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>main<br/><b>Killed by : </b>none</span></span> removed call to java/io/PrintStream::println &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_40'>40</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_40'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; SURVIVED</p> <p class='SURVIVED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; SURVIVED</p> <p class='SURVIVED'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; SURVIVED</p> <p class='KILLED'><span class='pop'>4.<span><b>4</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> negated conditional &rarr; KILLED</p> <p class='KILLED'><span class='pop'>5.<span><b>5</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> negated conditional &rarr; KILLED</p> <p class='KILLED'><span class='pop'>6.<span><b>6</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> negated conditional &rarr; KILLED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_46'>46</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_46'/>
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> Replaced double division with multiplication &rarr; KILLED</p> <p class='KILLED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> Replaced double division with multiplication &rarr; KILLED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_47'>47</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_47'/>
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> removed negation &rarr; KILLED</p> <p class='KILLED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> Replaced double multiplication with division &rarr; KILLED</p> <p class='KILLED'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> Replaced double addition with subtraction &rarr; KILLED</p> <p class='KILLED'><span class='pop'>4.<span><b>4</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> Replaced double subtraction with addition &rarr; KILLED</p> <p class='KILLED'><span class='pop'>5.<span><b>5</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> Replaced double division with multiplication &rarr; KILLED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_48'>48</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_48'/>
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>calculateMonthlyPayment<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> replaced double return with 0.0d for src/Loan::calculateMonthlyPayment &rarr; KILLED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_55'>55</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_55'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>calculateOverallDebt<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; SURVIVED</p> <p class='SURVIVED'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>calculateOverallDebt<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; SURVIVED</p> <p class='KILLED'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>calculateOverallDebt<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> negated conditional &rarr; KILLED</p> <p class='KILLED'><span class='pop'>4.<span><b>4</b><br/><b>Location : </b>calculateOverallDebt<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> negated conditional &rarr; KILLED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_61'>61</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_61'/>
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>calculateOverallDebt<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> Replaced double multiplication with division &rarr; KILLED</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@fd8294b_62'>62</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@fd8294b_62'/>
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>calculateOverallDebt<br/><b>Killed by : </b>src.Gaurav_Loan.test(src.Gaurav_Loan)</span></span> replaced double return with 0.0d for src/Loan::calculateOverallDebt &rarr; 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>src.Gaurav_Loan.test(src.Gaurav_Loan) (15 ms)</li>
</ul>
<br/>
Report generated by <a href='http://pitest.org'>PIT</a> 1.9.3
</body>
</html>

View file

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=windows-1252">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>Pit Test Coverage Report</h1>
<h2>Package Summary</h2>
<h3>src</h3>
<table>
<thead>
<tr>
<th>Number of Classes</th>
<th>Line Coverage</th>
<th>Mutation Coverage</th>
<th>Test Strength</th>
</tr>
</thead>
<tbody>
<tr>
<td>2</td>
<td>54% <div class="coverage_bar"><div class="coverage_complete width-54"></div><div class="coverage_legend">19/35</div></div></td>
<td>42% <div class="coverage_bar"><div class="coverage_complete width-42"></div><div class="coverage_legend">15/36</div></div></td>
<td>54% <div class="coverage_bar"><div class="coverage_complete width-54"></div><div class="coverage_legend">15/28</div></div></td>
</tr>
</tbody>
</table>
<h3>Breakdown by Class</h3>
<table>
<thead>
<tr>
<th>Name</th>
<th>Line Coverage</th>
<th>Mutation Coverage</th>
<th>Test Strength</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="./Gaurav_Loan.java.html">Gaurav_Loan.java</a></td>
<td><div class="coverage_percentage">100% </div><div class="coverage_bar"><div class="coverage_complete width-100"></div><div class="coverage_legend">10/10</div></div></td>
<td><div class="coverage_percentage">0% </div><div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/8</div></div></td>
<td><div class="coverage_percentage">0% </div><div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/8</div></div></td>
</tr>
<tr>
<td><a href="./Loan.java.html">Loan.java</a></td>
<td><div class="coverage_percentage">36% </div><div class="coverage_bar"><div class="coverage_complete width-36"></div><div class="coverage_legend">9/25</div></div></td>
<td><div class="coverage_percentage">54% </div><div class="coverage_bar"><div class="coverage_complete width-54"></div><div class="coverage_legend">15/28</div></div></td>
<td><div class="coverage_percentage">75% </div><div class="coverage_bar"><div class="coverage_complete width-75"></div><div class="coverage_legend">15/20</div></div></td>
</tr>
</tbody>
</table>
<br/>
<hr/>
Report generated by <a href='http://pitest.org'>PIT</a> 1.9.3
</body>
</html>

View file

@ -0,0 +1,563 @@
html, body, div, span, p, blockquote, pre {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body{
line-height: 1;
color: black;
background: white;
margin-left: 20px;
}
.src {
border: 1px solid #dddddd;
padding-top: 10px;
padding-right: 5px;
padding-left: 5px;
font-family: Consolas, Courier, monospace;
}
.covered, .COVERED {
background-color: #ddffdd;
}
.uncovered, .UNCOVERED {
background-color: #ffdddd;
}
.killed, .KILLED {
background-color: #aaffaa;
}
.survived, .SURVIVED {
background-color: #ffaaaa;
}
.uncertain, .UNCERTAIN {
background-color: #dde7ef;
}
.run_error, .RUN_ERROR {
background-color: #dde7ef;
}
.na {
background-color: #eeeeee;
}
.timed_out, .TIMED_OUT {
background-color: #dde7ef;
}
.non_viable, .NON_VIABLE {
background-color: #aaffaa;
}
.memory_error, .MEMORY_ERROR {
background-color: #dde7ef;
}
.not_started, .NO_STARTED {
background-color: #dde7ef; color : red
}
.no_coverage, .NO_COVERAGE {
background-color: #ffaaaa;
}
.tests {
width: 50%;
float: left;
}
.mutees {
float: right;
width: 50%;
}
.unit {
padding-top: 20px;
clear: both;
}
.coverage_bar {
display: inline-block;
height: 1.1em;
width: 130px;
background: #FAA;
margin: 0 5px;
vertical-align: middle;
border: 1px solid #AAA;
position: relative;
}
.coverage_complete {
display: inline-block;
height: 100%;
background: #DFD;
float: left;
}
.coverage_legend {
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
text-align: center;
}
.line, .mut {
vertical-align: middle;
}
.coverage_percentage {
display: inline-block;
width: 3em;
text-align: right;
}
.pop {
outline:none;
}
.pop strong {
line-height: 30px;
}
.pop {
text-decoration: none;
}
.pop span {
z-index: 10;
display: none;
padding: 14px 20px;
margin-top: -30px;
margin-left: 28px;
width: 800px;
line-height: 16px;
word-wrap: break-word;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-box-shadow: 5px 5px 8px #CCC;
-webkit-box-shadow: 5px 5px 8px #CCC;
box-shadow: 5px 5px 8px #CCC;
}
.pop:hover span {
display: inline;
position: absolute;
color: #111;
border: 1px solid #DCA;
background: #fffAF0;
}
.width-1 {
width: 1%;
}
.width-2 {
width: 2%;
}
.width-3 {
width: 3%;
}
.width-4 {
width: 4%;
}
.width-5 {
width: 5%;
}
.width-6 {
width: 6%;
}
.width-7 {
width: 7%;
}
.width-8 {
width: 8%;
}
.width-9 {
width: 9%;
}
.width-10 {
width: 10%;
}
.width-11 {
width: 11%;
}
.width-12 {
width: 12%;
}
.width-13 {
width: 13%;
}
.width-14 {
width: 14%;
}
.width-15 {
width: 15%;
}
.width-16 {
width: 16%;
}
.width-17 {
width: 17%;
}
.width-18 {
width: 18%;
}
.width-19 {
width: 19%;
}
.width-20 {
width: 20%;
}
.width-21 {
width: 21%;
}
.width-22 {
width: 22%;
}
.width-23 {
width: 23%;
}
.width-24 {
width: 24%;
}
.width-25 {
width: 25%;
}
.width-26 {
width: 26%;
}
.width-27 {
width: 27%;
}
.width-28 {
width: 28%;
}
.width-29 {
width: 29%;
}
.width-30 {
width: 30%;
}
.width-31 {
width: 31%;
}
.width-32 {
width: 32%;
}
.width-33 {
width: 33%;
}
.width-34 {
width: 34%;
}
.width-35 {
width: 35%;
}
.width-36 {
width: 36%;
}
.width-37 {
width: 37%;
}
.width-38 {
width: 38%;
}
.width-39 {
width: 39%;
}
.width-40 {
width: 40%;
}
.width-41 {
width: 41%;
}
.width-42 {
width: 42%;
}
.width-43 {
width: 43%;
}
.width-44 {
width: 44%;
}
.width-45 {
width: 45%;
}
.width-46 {
width: 46%;
}
.width-47 {
width: 47%;
}
.width-48 {
width: 48%;
}
.width-49 {
width: 49%;
}
.width-50 {
width: 50%;
}
.width-51 {
width: 51%;
}
.width-52 {
width: 52%;
}
.width-53 {
width: 53%;
}
.width-54 {
width: 54%;
}
.width-55 {
width: 55%;
}
.width-56 {
width: 56%;
}
.width-57 {
width: 57%;
}
.width-58 {
width: 58%;
}
.width-59 {
width: 59%;
}
.width-60 {
width: 60%;
}
.width-61 {
width: 61%;
}
.width-62 {
width: 62%;
}
.width-63 {
width: 63%;
}
.width-64 {
width: 64%;
}
.width-65 {
width: 65%;
}
.width-66 {
width: 66%;
}
.width-67 {
width: 67%;
}
.width-68 {
width: 68%;
}
.width-69 {
width: 69%;
}
.width-70 {
width: 70%;
}
.width-71 {
width: 71%;
}
.width-72 {
width: 72%;
}
.width-73 {
width: 73%;
}
.width-74 {
width: 74%;
}
.width-75 {
width: 75%;
}
.width-76 {
width: 76%;
}
.width-77 {
width: 77%;
}
.width-78 {
width: 78%;
}
.width-79 {
width: 79%;
}
.width-80 {
width: 80%;
}
.width-81 {
width: 81%;
}
.width-82 {
width: 82%;
}
.width-83 {
width: 83%;
}
.width-84 {
width: 84%;
}
.width-85 {
width: 85%;
}
.width-86 {
width: 86%;
}
.width-87 {
width: 87%;
}
.width-88 {
width: 88%;
}
.width-89 {
width: 89%;
}
.width-90 {
width: 90%;
}
.width-91 {
width: 91%;
}
.width-92 {
width: 92%;
}
.width-93 {
width: 93%;
}
.width-94 {
width: 94%;
}
.width-95 {
width: 95%;
}
.width-96 {
width: 96%;
}
.width-97 {
width: 97%;
}
.width-98 {
width: 98%;
}
.width-99 {
width: 99%;
}
.width-100 {
width: 100%;
}

View file

@ -1 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[15], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[2], lineNumber=12, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[8], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[1], lineNumber=10, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -7,7 +7,7 @@ public class src/Gaurav_Loan {
// access flags 0x1
public <init>()V
L0
LINENUMBER 7 L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
@ -20,28 +20,78 @@ public class src/Gaurav_Loan {
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 11 L0
NEW src/Loan
DUP
INVOKESPECIAL src/Loan.<init> ()V
ASTORE 1
L1
LINENUMBER 12 L1
DCONST_0
ALOAD 1
POP
LINENUMBER 10 L0
DCONST_0
DCONST_0
INVOKESTATIC src/Loan.sum (DD)Ljava/lang/Double;
POP
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
POP2
POP2
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
RETURN
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L3 0
LOCALVARIABLE mc Lsrc/Loan; L1 L3 1
MAXSTACK = 6
MAXLOCALS = 2
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[15], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[3], lineNumber=11, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -0,0 +1,97 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Gaurav_Loan {
// compiled from: Gaurav_Loan.java
// access flags 0x1
public <init>()V
L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
POP2
POP2
L2
LINENUMBER 13 L2
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[24], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[5], lineNumber=13, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -0,0 +1,98 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Gaurav_Loan {
// compiled from: Gaurav_Loan.java
// access flags 0x1
public <init>()V
L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
POP2
POP2
POP2
L3
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[32], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[7], lineNumber=14, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -0,0 +1,98 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Gaurav_Loan {
// compiled from: Gaurav_Loan.java
// access flags 0x1
public <init>()V
L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
POP2
POP2
POP2
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[41], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[9], lineNumber=16, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -0,0 +1,98 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Gaurav_Loan {
// compiled from: Gaurav_Loan.java
// access flags 0x1
public <init>()V
L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
POP2
POP2
POP2
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[49], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[11], lineNumber=17, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -0,0 +1,98 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Gaurav_Loan {
// compiled from: Gaurav_Loan.java
// access flags 0x1
public <init>()V
L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
POP2
POP2
POP2
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[58], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[13], lineNumber=19, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -0,0 +1,98 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Gaurav_Loan {
// compiled from: Gaurav_Loan.java
// access flags 0x1
public <init>()V
L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
POP2
POP2
POP2
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Gaurav_Loan, method=test, methodDesc=()V], indexes=[66], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Gaurav_Loan.java, block=[15], lineNumber=20, description=removed call to org/junit/jupiter/api/Assertions::assertEquals, testsInOrder=[]]

View file

@ -0,0 +1,98 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Gaurav_Loan {
// compiled from: Gaurav_Loan.java
// access flags 0x1
public <init>()V
L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 11 L1
DCONST_0
ICONST_0
DCONST_0
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
POP2
POP2
POP2
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -7,7 +7,7 @@ public class src/Gaurav_Loan {
// access flags 0x1
public <init>()V
L0
LINENUMBER 7 L0
LINENUMBER 6 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
@ -20,27 +20,77 @@ public class src/Gaurav_Loan {
public test()V
@Lorg/junit/Test;()
L0
LINENUMBER 11 L0
NEW src/Loan
DUP
INVOKESPECIAL src/Loan.<init> ()V
ASTORE 1
LINENUMBER 10 L0
DCONST_0
DCONST_0
DCONST_0
ICONST_0
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L1
LINENUMBER 12 L1
LINENUMBER 11 L1
DCONST_0
ALOAD 1
POP
ICONST_0
DCONST_0
DCONST_0
INVOKESTATIC src/Loan.sum (DD)Ljava/lang/Double;
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DLjava/lang/Double;)V
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DD)V
L2
LINENUMBER 13 L2
RETURN
LDC 93.22
LDC 5000.0
LDC 4.5
BIPUSH 60
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L3
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L3 0
LOCALVARIABLE mc Lsrc/Loan; L1 L3 1
MAXSTACK = 6
MAXLOCALS = 2
LINENUMBER 14 L3
LDC 5592.91
BIPUSH 60
LDC 93.22
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L4
LINENUMBER 16 L4
LDC 452.27
LDC 10000.0
LDC 8.0
BIPUSH 24
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L5
LINENUMBER 17 L5
LDC 10854.55
BIPUSH 24
LDC 452.27
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L6
LINENUMBER 19 L6
LDC 29.1
LDC 1000.45
LDC 3.02
BIPUSH 36
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L7
LINENUMBER 20 L7
LDC 1047.26
BIPUSH 36
LDC 29.1
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DCONST_1
INVOKESTATIC org/junit/jupiter/api/Assertions.assertEquals (DDD)V
L8
LINENUMBER 22 L8
RETURN
L9
LOCALVARIABLE this Lsrc/Gaurav_Loan; L0 L9 0
MAXSTACK = 7
MAXLOCALS = 1
}

View file

@ -1 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=sum, methodDesc=(DD)Ljava/lang/Double;], indexes=[5], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[0], lineNumber=9, description=Replaced double addition with subtraction, testsInOrder=[]]
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=main, methodDesc=([Ljava/lang/String;)V], indexes=[12], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Loan.java, block=[1], lineNumber=12, description=removed call to java/io/PrintStream::print, testsInOrder=[]]

View file

@ -3,70 +3,200 @@
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 5 L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static sum(DD)Ljava/lang/Double;
L0
LINENUMBER 9 L0
DLOAD 0
DLOAD 2
DSUB
INVOKESTATIC java/lang/Double.valueOf (D)Ljava/lang/Double;
ARETURN
L1
LOCALVARIABLE a D L0 L1 0
LOCALVARIABLE b D L0 L1 2
MAXSTACK = 4
MAXLOCALS = 4
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 14 L0
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Hello world"
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 15 L1
LDC 14.0
DSTORE 1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
POP
POP
L2
LINENUMBER 16 L2
LDC 5.0
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 18 L3
DLOAD 1
LINENUMBER 62 L3
DLOAD 3
INVOKESTATIC src/Loan.sum (DD)Ljava/lang/Double;
INVOKEVIRTUAL java/lang/Double.doubleValue ()D
DSTORE 5
L4
LINENUMBER 19 L4
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 5
INVOKEVIRTUAL java/io/PrintStream.println (D)V
L5
LINENUMBER 20 L5
RETURN
L6
LOCALVARIABLE args [Ljava/lang/String; L0 L6 0
LOCALVARIABLE a D L2 L6 1
LOCALVARIABLE b D L3 L6 3
LOCALVARIABLE answer D L4 L6 5
DRETURN
MAXSTACK = 4
MAXLOCALS = 7
MAXLOCALS = 5
}

View file

@ -1 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=sum, methodDesc=(DD)Ljava/lang/Double;], indexes=[7], mutator=org.pitest.mutationtest.engine.gregor.mutators.returns.EmptyObjectReturnValsMutator], filename=Loan.java, block=[1], lineNumber=9, description=replaced Double return value with 0 for src/Loan::sum, testsInOrder=[]]
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=main, methodDesc=([Ljava/lang/String;)V], indexes=[22], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Loan.java, block=[3], lineNumber=15, description=removed call to java/io/PrintStream::print, testsInOrder=[]]

View file

@ -3,73 +3,200 @@
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 5 L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static sum(DD)Ljava/lang/Double;
L0
LINENUMBER 9 L0
DLOAD 0
DLOAD 2
DADD
INVOKESTATIC java/lang/Double.valueOf (D)Ljava/lang/Double;
POP
DCONST_0
INVOKESTATIC java/lang/Double.valueOf (D)Ljava/lang/Double;
ARETURN
L1
LOCALVARIABLE a D L0 L1 0
LOCALVARIABLE b D L0 L1 2
MAXSTACK = 4
MAXLOCALS = 4
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 14 L0
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Hello world"
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 15 L1
LDC 14.0
DSTORE 1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 16 L2
LDC 5.0
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
POP
POP
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 18 L3
DLOAD 1
LINENUMBER 62 L3
DLOAD 3
INVOKESTATIC src/Loan.sum (DD)Ljava/lang/Double;
INVOKEVIRTUAL java/lang/Double.doubleValue ()D
DSTORE 5
L4
LINENUMBER 19 L4
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 5
INVOKEVIRTUAL java/io/PrintStream.println (D)V
L5
LINENUMBER 20 L5
RETURN
L6
LOCALVARIABLE args [Ljava/lang/String; L0 L6 0
LOCALVARIABLE a D L2 L6 1
LOCALVARIABLE b D L3 L6 3
LOCALVARIABLE answer D L4 L6 5
DRETURN
MAXSTACK = 4
MAXLOCALS = 7
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[10], mutator=org.pitest.mutationtest.engine.gregor.mutators.NegateConditionalsMutator], filename=Loan.java, block=[1], lineNumber=40, description=negated conditional, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFGT L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[10], mutator=org.pitest.mutationtest.engine.gregor.mutators.ConditionalsBoundaryMutator], filename=Loan.java, block=[1], lineNumber=40, description=changed conditional boundary, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLT L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[12], mutator=org.pitest.mutationtest.engine.gregor.mutators.NegateConditionalsMutator], filename=Loan.java, block=[2], lineNumber=40, description=negated conditional, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFLE L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[12], mutator=org.pitest.mutationtest.engine.gregor.mutators.ConditionalsBoundaryMutator], filename=Loan.java, block=[2], lineNumber=40, description=changed conditional boundary, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGE L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[23], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[4], lineNumber=46, description=Replaced double division with multiplication, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DMUL
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[25], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[4], lineNumber=46, description=Replaced double division with multiplication, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DMUL
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[31], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[4], lineNumber=47, description=Replaced double multiplication with division, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DDIV
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[35], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[4], lineNumber=47, description=Replaced double addition with subtraction, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DSUB
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[37], mutator=org.pitest.mutationtest.engine.gregor.mutators.InvertNegsMutator], filename=Loan.java, block=[4], lineNumber=47, description=removed negation, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
NOP
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[40], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[5], lineNumber=47, description=Replaced double subtraction with addition, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DADD
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -1 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=main, methodDesc=([Ljava/lang/String;)V], indexes=[5], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Loan.java, block=[0], lineNumber=14, description=removed call to java/io/PrintStream::println, testsInOrder=[]]
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=main, methodDesc=([Ljava/lang/String;)V], indexes=[32], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Loan.java, block=[5], lineNumber=18, description=removed call to java/io/PrintStream::print, testsInOrder=[]]

View file

@ -3,71 +3,200 @@
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 5 L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
L1
LOCALVARIABLE this Lsrc/Loan; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static sum(DD)Ljava/lang/Double;
L0
LINENUMBER 9 L0
DLOAD 0
DLOAD 2
DADD
INVOKESTATIC java/lang/Double.valueOf (D)Ljava/lang/Double;
ARETURN
L1
LOCALVARIABLE a D L0 L1 0
LOCALVARIABLE b D L0 L1 2
MAXSTACK = 4
MAXLOCALS = 4
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 14 L0
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Hello world"
POP
POP
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 15 L1
LDC 14.0
DSTORE 1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 16 L2
LDC 5.0
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
POP
POP
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 18 L3
DLOAD 1
LINENUMBER 62 L3
DLOAD 3
INVOKESTATIC src/Loan.sum (DD)Ljava/lang/Double;
INVOKEVIRTUAL java/lang/Double.doubleValue ()D
DSTORE 5
L4
LINENUMBER 19 L4
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 5
INVOKEVIRTUAL java/io/PrintStream.println (D)V
L5
LINENUMBER 20 L5
RETURN
L6
LOCALVARIABLE args [Ljava/lang/String; L0 L6 0
LOCALVARIABLE a D L2 L6 1
LOCALVARIABLE b D L3 L6 3
LOCALVARIABLE answer D L4 L6 5
DRETURN
MAXSTACK = 4
MAXLOCALS = 7
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[41], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[5], lineNumber=47, description=Replaced double division with multiplication, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DMUL
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateMonthlyPayment, methodDesc=(DDI)D], indexes=[46], mutator=org.pitest.mutationtest.engine.gregor.mutators.returns.PrimitiveReturnsMutator], filename=Loan.java, block=[5], lineNumber=48, description=replaced double return with 0.0d for src/Loan::calculateMonthlyPayment, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,203 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
POP2
DCONST_0
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateOverallDebt, methodDesc=(ID)D], indexes=[4], mutator=org.pitest.mutationtest.engine.gregor.mutators.NegateConditionalsMutator], filename=Loan.java, block=[0], lineNumber=55, description=negated conditional, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFGT L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateOverallDebt, methodDesc=(ID)D], indexes=[4], mutator=org.pitest.mutationtest.engine.gregor.mutators.ConditionalsBoundaryMutator], filename=Loan.java, block=[0], lineNumber=55, description=changed conditional boundary, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLT L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateOverallDebt, methodDesc=(ID)D], indexes=[8], mutator=org.pitest.mutationtest.engine.gregor.mutators.NegateConditionalsMutator], filename=Loan.java, block=[1], lineNumber=55, description=negated conditional, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFLE L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateOverallDebt, methodDesc=(ID)D], indexes=[8], mutator=org.pitest.mutationtest.engine.gregor.mutators.ConditionalsBoundaryMutator], filename=Loan.java, block=[1], lineNumber=55, description=changed conditional boundary, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGE L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateOverallDebt, methodDesc=(ID)D], indexes=[20], mutator=org.pitest.mutationtest.engine.gregor.mutators.MathMutator], filename=Loan.java, block=[3], lineNumber=61, description=Replaced double multiplication with division, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,201 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DDIV
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -0,0 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=calculateOverallDebt, methodDesc=(ID)D], indexes=[25], mutator=org.pitest.mutationtest.engine.gregor.mutators.returns.PrimitiveReturnsMutator], filename=Loan.java, block=[3], lineNumber=62, description=replaced double return with 0.0d for src/Loan::calculateOverallDebt, testsInOrder=[]]

Binary file not shown.

View file

@ -0,0 +1,203 @@
// class version 61.0 (61)
// access flags 0x21
public class src/Loan {
// compiled from: Loan.java
// access flags 0x19
public final static INNERCLASS java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
// access flags 0x1
public <init>()V
L0
LINENUMBER 4 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
RETURN
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x9
public static main([Ljava/lang/String;)V
L0
LINENUMBER 8 L0
NEW java/util/Scanner
DUP
GETSTATIC java/lang/System.in : Ljava/io/InputStream;
INVOKESPECIAL java/util/Scanner.<init> (Ljava/io/InputStream;)V
ASTORE 1
L1
LINENUMBER 12 L1
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Debt value in Euros : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L2
LINENUMBER 13 L2
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 2
L3
LINENUMBER 15 L3
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Interest rate in Percentage : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L4
LINENUMBER 16 L4
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextDouble ()D
DSTORE 4
L5
LINENUMBER 18 L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "Enter Payback Duration in months : "
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L6
LINENUMBER 19 L6
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.nextInt ()I
ISTORE 6
L7
LINENUMBER 22 L7
ALOAD 1
INVOKEVIRTUAL java/util/Scanner.close ()V
L8
LINENUMBER 25 L8
DLOAD 2
DLOAD 4
ILOAD 6
INVOKESTATIC src/Loan.calculateMonthlyPayment (DDI)D
DSTORE 7
L9
LINENUMBER 28 L9
ILOAD 6
DLOAD 7
INVOKESTATIC src/Loan.calculateOverallDebt (ID)D
DSTORE 9
L10
LINENUMBER 31 L10
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
LDC "-------------------------------------------------\n"
INVOKEVIRTUAL java/io/PrintStream.print (Ljava/lang/String;)V
L11
LINENUMBER 32 L11
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
DLOAD 7
INVOKEDYNAMIC makeConcatWithConstants(D)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Monthly Payment: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L12
LINENUMBER 33 L12
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
INVOKEDYNAMIC makeConcatWithConstants(I)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Number of Rates: \u0001"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L13
LINENUMBER 34 L13
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 6
DLOAD 9
INVOKEDYNAMIC makeConcatWithConstants(ID)Ljava/lang/String; [
// handle kind 0x6 : INVOKESTATIC
java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
// arguments:
"Overall Debt at the end of \u0001 months: \u0001 euros"
]
INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
L14
LINENUMBER 35 L14
RETURN
MAXSTACK = 5
MAXLOCALS = 11
// access flags 0x9
public static calculateMonthlyPayment(DDI)D
L0
LINENUMBER 40 L0
DLOAD 0
DCONST_0
DCMPG
IFLE L1
DLOAD 2
DCONST_0
DCMPG
IFLE L1
ILOAD 4
IFGT L2
L1
LINENUMBER 42 L1
FRAME FULL [D D I] []
DCONST_0
DRETURN
L2
LINENUMBER 46 L2
FRAME FULL [D D I] []
DLOAD 2
LDC 100.0
DDIV
LDC 12.0
DDIV
DSTORE 5
L3
LINENUMBER 47 L3
DLOAD 5
DLOAD 0
DMUL
DCONST_1
DCONST_1
DLOAD 5
DADD
ILOAD 4
INEG
I2D
INVOKESTATIC java/lang/Math.pow (DD)D
DSUB
DDIV
DSTORE 7
L4
LINENUMBER 48 L4
DLOAD 7
DRETURN
MAXSTACK = 8
MAXLOCALS = 9
// access flags 0x9
public static calculateOverallDebt(ID)D
L0
LINENUMBER 55 L0
ILOAD 0
IFLE L1
DLOAD 1
DCONST_0
DCMPG
IFGT L2
L1
LINENUMBER 57 L1
FRAME FULL [I D] []
DCONST_0
DRETURN
L2
LINENUMBER 61 L2
FRAME FULL [I D] []
DLOAD 1
ILOAD 0
I2D
DMUL
DSTORE 3
L3
LINENUMBER 62 L3
DLOAD 3
POP2
DCONST_0
DRETURN
MAXSTACK = 4
MAXLOCALS = 5
}

View file

@ -1 +1 @@
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=main, methodDesc=([Ljava/lang/String;)V], indexes=[25], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Loan.java, block=[3], lineNumber=19, description=removed call to java/io/PrintStream::println, testsInOrder=[]]
MutationDetails [id=MutationIdentifier [location=Location [clazz=src.Loan, method=main, methodDesc=([Ljava/lang/String;)V], indexes=[41], mutator=org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator], filename=Loan.java, block=[7], lineNumber=22, description=removed call to java/util/Scanner::close, testsInOrder=[]]

Some files were not shown because too many files have changed in this diff Show more