This commit is contained in:
mahesh25596 2023-12-31 23:50:21 +01:00
parent e6d0b363d8
commit 2c5a5ee4b4
43 changed files with 1058 additions and 27 deletions

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<BugCollection version="4.8.0" sequence="0" timestamp="1703729629855" analysisTimestamp="1703729629862" release="">
<BugCollection version="4.8.0" sequence="0" timestamp="1704062997214" analysisTimestamp="1704062997217" release="">
<Project projectName="">
<Jar>/home/mahesh/eclipse-workspace/bank_app/src/Main_class.class</Jar>
<AuxClasspathEntry>/home/mahesh/eclipse-workspace/bank_app/lib/Regex.jar</AuxClasspathEntry>
<SrcDir>/home/mahesh/eclipse-workspace/bank_app/src</SrcDir>
<Jar>/home/mahesh/eclipse-workspace/Bank_app/src/Main_class.class</Jar>
<AuxClasspathEntry>/home/mahesh/eclipse-workspace/Bank_app/lib/Regex.jar</AuxClasspathEntry>
<SrcDir>/home/mahesh/eclipse-workspace/Bank_app/src</SrcDir>
</Project>
<BugInstance type="DM_DEFAULT_ENCODING" priority="1" rank="19" abbrev="Dm" category="I18N">
<Class classname="src.Main_class">
@ -19,23 +19,24 @@
<SourceLine classname="src.Main_class" start="39" end="39" startBytecode="7" endBytecode="7" sourcefile="Main_class.java" sourcepath="src/Main_class.java"/>
</BugInstance>
<Errors errors="0" missingClasses="0"></Errors>
<FindBugsSummary timestamp="Thu, 28 Dec 2023 03:13:49 +0100" total_classes="1" referenced_classes="22" total_bugs="1" total_size="33" num_packages="1" java_version="17.0.6" vm_version="17.0.6+9-LTS-190" cpu_seconds="6.57" clock_seconds="0.77" peak_mbytes="199.42" alloc_mbytes="3902.00" gc_seconds="0.01" priority_1="1">
<FindBugsSummary timestamp="Sun, 31 Dec 2023 23:49:57 +0100" total_classes="1" referenced_classes="22" total_bugs="1" total_size="33" num_packages="1" java_version="17.0.6" vm_version="17.0.6+9-LTS-190" cpu_seconds="13.44" clock_seconds="1.53" peak_mbytes="197.09" alloc_mbytes="3902.00" gc_seconds="0.02" priority_1="1">
<PackageStats package="src" total_bugs="1" total_types="1" total_size="33" priority_1="1">
<ClassStats class="src.Main_class" sourceFile="Main_class.java" interface="false" size="33" bugs="1" priority_1="1"/>
</PackageStats>
<FindBugsProfile>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine" totalMilliseconds="186" invocations="476" avgMicrosecondsPerInvocation="392" maxMicrosecondsPerInvocation="5938" standardDeviationMicrosecondsPerInvocation="795"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FieldItemSummary" totalMilliseconds="49" invocations="22" avgMicrosecondsPerInvocation="2233" maxMicrosecondsPerInvocation="13966" standardDeviationMicrosecondsPerInvocation="3194"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FindNoSideEffectMethods" totalMilliseconds="27" invocations="22" avgMicrosecondsPerInvocation="1264" maxMicrosecondsPerInvocation="5923" standardDeviationMicrosecondsPerInvocation="1490"/>
<ClassProfile name="edu.umd.cs.findbugs.OpcodeStack$JumpInfoFactory" totalMilliseconds="26" invocations="115" avgMicrosecondsPerInvocation="229" maxMicrosecondsPerInvocation="1741" standardDeviationMicrosecondsPerInvocation="266"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassDataAnalysisEngine" totalMilliseconds="25" invocations="478" avgMicrosecondsPerInvocation="54" maxMicrosecondsPerInvocation="1995" standardDeviationMicrosecondsPerInvocation="104"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.JavaClassAnalysisEngine" totalMilliseconds="20" invocations="49" avgMicrosecondsPerInvocation="411" maxMicrosecondsPerInvocation="8067" standardDeviationMicrosecondsPerInvocation="1185"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.EqualsOperandShouldHaveClassCompatibleWithThis" totalMilliseconds="18" invocations="22" avgMicrosecondsPerInvocation="858" maxMicrosecondsPerInvocation="14980" standardDeviationMicrosecondsPerInvocation="3092"/>
<ClassProfile name="edu.umd.cs.findbugs.util.TopologicalSort" totalMilliseconds="16" invocations="439" avgMicrosecondsPerInvocation="37" maxMicrosecondsPerInvocation="687" standardDeviationMicrosecondsPerInvocation="71"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.DontReusePublicIdentifiers" totalMilliseconds="15" invocations="1" avgMicrosecondsPerInvocation="15627" maxMicrosecondsPerInvocation="15627" standardDeviationMicrosecondsPerInvocation="0"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.NoteDirectlyRelevantTypeQualifiers" totalMilliseconds="15" invocations="22" avgMicrosecondsPerInvocation="687" maxMicrosecondsPerInvocation="5416" standardDeviationMicrosecondsPerInvocation="1125"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.MethodGenFactory" totalMilliseconds="13" invocations="5" avgMicrosecondsPerInvocation="2670" maxMicrosecondsPerInvocation="12185" standardDeviationMicrosecondsPerInvocation="4759"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FunctionsThatMightBeMistakenForProcedures" totalMilliseconds="12" invocations="22" avgMicrosecondsPerInvocation="583" maxMicrosecondsPerInvocation="2903" standardDeviationMicrosecondsPerInvocation="791"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine" totalMilliseconds="350" invocations="476" avgMicrosecondsPerInvocation="736" maxMicrosecondsPerInvocation="29701" standardDeviationMicrosecondsPerInvocation="2259"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FieldItemSummary" totalMilliseconds="95" invocations="22" avgMicrosecondsPerInvocation="4340" maxMicrosecondsPerInvocation="20113" standardDeviationMicrosecondsPerInvocation="5386"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.FindNoSideEffectMethods" totalMilliseconds="74" invocations="22" avgMicrosecondsPerInvocation="3391" maxMicrosecondsPerInvocation="34098" standardDeviationMicrosecondsPerInvocation="7041"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.ClassDataAnalysisEngine" totalMilliseconds="64" invocations="478" avgMicrosecondsPerInvocation="135" maxMicrosecondsPerInvocation="3829" standardDeviationMicrosecondsPerInvocation="290"/>
<ClassProfile name="edu.umd.cs.findbugs.OpcodeStack$JumpInfoFactory" totalMilliseconds="59" invocations="115" avgMicrosecondsPerInvocation="519" maxMicrosecondsPerInvocation="5389" standardDeviationMicrosecondsPerInvocation="685"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.EqualsOperandShouldHaveClassCompatibleWithThis" totalMilliseconds="42" invocations="22" avgMicrosecondsPerInvocation="1931" maxMicrosecondsPerInvocation="35918" standardDeviationMicrosecondsPerInvocation="7425"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.JavaClassAnalysisEngine" totalMilliseconds="41" invocations="49" avgMicrosecondsPerInvocation="847" maxMicrosecondsPerInvocation="14833" standardDeviationMicrosecondsPerInvocation="2291"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.NoteDirectlyRelevantTypeQualifiers" totalMilliseconds="36" invocations="22" avgMicrosecondsPerInvocation="1660" maxMicrosecondsPerInvocation="11155" standardDeviationMicrosecondsPerInvocation="2863"/>
<ClassProfile name="edu.umd.cs.findbugs.util.TopologicalSort" totalMilliseconds="26" invocations="439" avgMicrosecondsPerInvocation="60" maxMicrosecondsPerInvocation="1746" standardDeviationMicrosecondsPerInvocation="141"/>
<ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.IsNullValueDataflowFactory" totalMilliseconds="22" invocations="5" avgMicrosecondsPerInvocation="4502" maxMicrosecondsPerInvocation="18218" standardDeviationMicrosecondsPerInvocation="6935"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.CalledMethods" totalMilliseconds="22" invocations="22" avgMicrosecondsPerInvocation="1023" maxMicrosecondsPerInvocation="6692" standardDeviationMicrosecondsPerInvocation="1562"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.StreamResourceTracker" totalMilliseconds="21" invocations="8" avgMicrosecondsPerInvocation="2746" maxMicrosecondsPerInvocation="4253" standardDeviationMicrosecondsPerInvocation="1229"/>
<ClassProfile name="edu.umd.cs.findbugs.detect.BuildObligationPolicyDatabase" totalMilliseconds="21" invocations="22" avgMicrosecondsPerInvocation="980" maxMicrosecondsPerInvocation="9200" standardDeviationMicrosecondsPerInvocation="2069"/>
</FindBugsProfile>
</FindBugsSummary>
<ClassFeatures></ClassFeatures>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="1" failures="0" hostname="mahesh-VivoBook-ASUSLaptop-K3502ZA-K3502ZA" name="src.Main_classTest" skipped="0" tests="1" time="0.022" timestamp="2023-12-30T21:19:06">
<testsuite errors="1" failures="0" hostname="mahesh-VivoBook-ASUSLaptop-K3502ZA-K3502ZA" name="src.Main_classTest" skipped="0" tests="1" time="0.022" timestamp="2023-12-31T22:49:50">
<properties>
<property name="ant.library.dir" value="/usr/share/ant/lib" />
<property name="env.TERM" value="xterm-256color" />
@ -12,7 +12,7 @@
<property name="java.vendor.url" value="https://java.oracle.com/" />
<property name="env.GNOME_SETUP_DISPLAY" value=":1" />
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-17-oracle/lib" />
<property name="sun.java.command" value="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner src.Main_classTest 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,/home/mahesh/eclipse-workspace/Bank_app/junit/TEST-src.Main_classTest.xml crashfile=/home/mahesh/eclipse-workspace/Bank_app/junitvmwatcher214712381213421744.properties propsfile=/home/mahesh/eclipse-workspace/Bank_app/junit7413438037456600253.properties" />
<property name="sun.java.command" value="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner src.Main_classTest 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,/home/mahesh/eclipse-workspace/Bank_app/junit/TEST-src.Main_classTest.xml crashfile=/home/mahesh/eclipse-workspace/Bank_app/junitvmwatcher4971928246976941905.properties propsfile=/home/mahesh/eclipse-workspace/Bank_app/junit10848452688820928839.properties" />
<property name="jdk.debug" value="release" />
<property name="env.DERBY_HOME" value="/usr/lib/jvm/java-17-oracle/db" />
<property name="sun.stderr.encoding" value="UTF-8" />
@ -54,7 +54,7 @@
<property name="env.SSH_AGENT_LAUNCHER" value="gnome-keyring" />
<property name="ant.home" value="/usr/share/ant" />
<property name="junit.output.dir" value="junit" />
<property name="env.GNOME_TERMINAL_SCREEN" value="/org/gnome/Terminal/screen/f2431bff_6f87_4989_828a_dec65709d5a1" />
<property name="env.GNOME_TERMINAL_SCREEN" value="/org/gnome/Terminal/screen/fcdb6606_db7a_49c6_9f68_254607d9fdc4" />
<property name="native.encoding" value="UTF-8" />
<property name="ant.version" value="Apache Ant(TM) version 1.10.12 compiled on January 17 1970" />
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib" />
@ -64,11 +64,11 @@
<property name="sun.io.unicode.encoding" value="UnicodeLittle" />
<property name="env.J2REDIR" value="/usr/lib/jvm/java-17-oracle" />
<property name="env.XDG_SESSION_CLASS" value="user" />
<property name="env.XAUTHORITY" value="/run/user/1000/.mutter-Xwaylandauth.RJXUG2" />
<property name="env.XAUTHORITY" value="/run/user/1000/.mutter-Xwaylandauth.9NW8G2" />
<property name="env.LC_MEASUREMENT" value="fr_FR.UTF-8" />
<property name="ant.file.type" value="file" />
<property name="env.PWD" value="/home/mahesh/eclipse-workspace/Bank_app" />
<property name="env.SESSION_MANAGER" value="local/mahesh-VivoBook-ASUSLaptop-K3502ZA-K3502ZA:@/tmp/.ICE-unix/2020,unix/mahesh-VivoBook-ASUSLaptop-K3502ZA-K3502ZA:/tmp/.ICE-unix/2020" />
<property name="env.SESSION_MANAGER" value="local/mahesh-VivoBook-ASUSLaptop-K3502ZA-K3502ZA:@/tmp/.ICE-unix/2029,unix/mahesh-VivoBook-ASUSLaptop-K3502ZA-K3502ZA:/tmp/.ICE-unix/2029" />
<property name="env.LANG" value="en_US.UTF-8" />
<property name="env.LC_NAME" value="fr_FR.UTF-8" />
<property name="env.LESSOPEN" value="| /usr/bin/lesspipe %s" />
@ -88,7 +88,7 @@
<property name="env.QT_ACCESSIBILITY" value="1" />
<property name="sun.cpu.endian" value="little" />
<property name="user.home" value="/home/mahesh" />
<property name="env.DBUS_STARTER_ADDRESS" value="unix:path=/run/user/1000/bus,guid=73cce148f8ff1357453beab9659044d6" />
<property name="env.DBUS_STARTER_ADDRESS" value="unix:path=/run/user/1000/bus,guid=f6e984b4964f1a94376f70036591efb7" />
<property name="user.language" value="en" />
<property name="env.WAYLAND_DISPLAY" value="wayland-0" />
<property name="ant.file.type.bank_app" value="file" />
@ -96,13 +96,13 @@
<property name="ant.java.version" value="17" />
<property name="env.LC_PAPER" value="fr_FR.UTF-8" />
<property name="env.XDG_MENU_PREFIX" value="gnome-" />
<property name="env.DBUS_SESSION_BUS_ADDRESS" value="unix:path=/run/user/1000/bus,guid=73cce148f8ff1357453beab9659044d6" />
<property name="env.DBUS_SESSION_BUS_ADDRESS" value="unix:path=/run/user/1000/bus,guid=f6e984b4964f1a94376f70036591efb7" />
<property name="ant.file" value="/home/mahesh/eclipse-workspace/Bank_app/build.xml" />
<property name="path.separator" value=":" />
<property name="env.GNOME_TERMINAL_SERVICE" value=":1.197" />
<property name="env.GNOME_TERMINAL_SERVICE" value=":1.105" />
<property name="os.version" value="6.2.0-39-generic" />
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment" />
<property name="ant.project.invoked-targets" value="Main_classTest" />
<property name="ant.project.invoked-targets" value="pit" />
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM" />
<property name="env.LC_ADDRESS" value="fr_FR.UTF-8" />
<property name="env.SHELL" value="/bin/bash" />
@ -120,7 +120,7 @@
<property name="env.XDG_CURRENT_DESKTOP" value="ubuntu:GNOME" />
<property name="java.vm.info" value="mixed mode, sharing" />
<property name="java.vm.version" value="17.0.6+9-LTS-190" />
<property name="env.SYSTEMD_EXEC_PID" value="2020" />
<property name="env.SYSTEMD_EXEC_PID" value="2029" />
<property name="env.USER" value="mahesh" />
<property name="java.class.version" value="61.0" />
<property name="env.GNOME_SHELL_SESSION_MODE" value="ubuntu" />

View file

@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>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>0% <div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/43</div></div></td>
<td>0% <div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/36</div></div></td>
<td>0% <div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/0</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">0% </div><div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/43</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/36</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/0</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,197 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>Main_class.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@24bdb479_11'>11</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_11'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> Replaced double division with multiplication &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> Replaced double multiplication with division &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> Replaced double multiplication with division &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_12'>12</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_12'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> negated conditional &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>4.<span><b>4</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> negated conditional &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_16'>16</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_16'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>monthly_rate<br/><b>Killed by : </b>none</span></span> replaced double return with 0.0d for src/Main_class::monthly_rate &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_20'>20</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_20'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>number_rate<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>number_rate<br/><b>Killed by : </b>none</span></span> negated conditional &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_24'>24</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_24'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>number_rate<br/><b>Killed by : </b>none</span></span> Replaced double division with multiplication &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>number_rate<br/><b>Killed by : </b>none</span></span> replaced double return with 0.0d for src/Main_class::number_rate &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_28'>28</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_28'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> Replaced double division with multiplication &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> Replaced double multiplication with division &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>3.<span><b>3</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> Replaced double multiplication with division &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>4.<span><b>4</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> Replaced double division with multiplication &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>5.<span><b>5</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> Replaced double addition with subtraction &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_29'>29</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_29'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> changed conditional boundary &rarr; NO_COVERAGE</p> <p class='NO_COVERAGE'><span class='pop'>2.<span><b>2</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> negated conditional &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_34'>34</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_34'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>amount_<br/><b>Killed by : </b>none</span></span> replaced double return with 0.0d for src/Main_class::amount_ &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@24bdb479_40'>40</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_40'/>
<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@24bdb479_42'>42</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_42'/>
<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@24bdb479_44'>44</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_44'/>
<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@24bdb479_46'>46</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_46'/>
<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@24bdb479_49'>49</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_49'/>
<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@24bdb479_50'>50</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_50'/>
<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@24bdb479_51'>51</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@24bdb479_51'/>
<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>
</table>
<h2>Active mutators</h2>
<ul>
<li class='mutator'>CONDITIONALS_BOUNDARY</li>
<li class='mutator'>EMPTY_RETURNS</li>
<li class='mutator'>FALSE_RETURNS</li>
<li class='mutator'>INCREMENTS</li>
<li class='mutator'>INVERT_NEGS</li>
<li class='mutator'>MATH</li>
<li class='mutator'>NEGATE_CONDITIONALS</li>
<li class='mutator'>NULL_RETURNS</li>
<li class='mutator'>PRIMITIVE_RETURNS</li>
<li class='mutator'>TRUE_RETURNS</li>
<li class='mutator'>VOID_METHOD_CALLS</li>
</ul>
<h2>Tests examined</h2>
<ul>
</ul>
<br/>
Report generated by <a href='http://pitest.org'>PIT</a> 1.9.3
</body>
</html>

View file

@ -0,0 +1,137 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>Main_classTest.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@46f699d5_12'>12</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_12'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testMonthly_rate<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_13'>13</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_13'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testMonthly_rate<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_14'>14</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_14'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testMonthly_rate<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_20'>20</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_20'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testNumber_rate<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_21'>21</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_21'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testNumber_rate<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_22'>22</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_22'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testNumber_rate<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_28'>28</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_28'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testAmount_<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_29'>29</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_29'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testAmount_<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@46f699d5_30'>30</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@46f699d5_30'/>
<p class='NO_COVERAGE'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>testAmount_<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; NO_COVERAGE</p>
</td>
</tr>
</table>
<h2>Active mutators</h2>
<ul>
<li class='mutator'>CONDITIONALS_BOUNDARY</li>
<li class='mutator'>EMPTY_RETURNS</li>
<li class='mutator'>FALSE_RETURNS</li>
<li class='mutator'>INCREMENTS</li>
<li class='mutator'>INVERT_NEGS</li>
<li class='mutator'>MATH</li>
<li class='mutator'>NEGATE_CONDITIONALS</li>
<li class='mutator'>NULL_RETURNS</li>
<li class='mutator'>PRIMITIVE_RETURNS</li>
<li class='mutator'>TRUE_RETURNS</li>
<li class='mutator'>VOID_METHOD_CALLS</li>
</ul>
<h2>Tests examined</h2>
<ul>
</ul>
<br/>
Report generated by <a href='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=UTF-8">
<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>0% <div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/43</div></div></td>
<td>0% <div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/36</div></div></td>
<td>0% <div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/0</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="./Main_class.java.html">Main_class.java</a></td>
<td><div class="coverage_percentage">0% </div><div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/27</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/27</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/0</div></div></td>
</tr>
<tr>
<td><a href="./Main_classTest.java.html">Main_classTest.java</a></td>
<td><div class="coverage_percentage">0% </div><div class="coverage_bar"><div class="coverage_complete width-0"></div><div class="coverage_legend">0/16</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/9</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/0</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%;
}