Skip to content

Commit

Permalink
Fixed wrong classification.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlvp committed Jan 17, 2018
1 parent f5234e9 commit bf4ab16
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fr.inria.stamp.mutationtest.descartes.reporting;

import org.pitest.coverage.TestInfo;
import org.pitest.functional.Option;
import org.pitest.mutationtest.*;
import org.pitest.mutationtest.engine.MutationDetails;
import org.pitest.util.Unchecked;
Expand Down Expand Up @@ -141,10 +140,12 @@ else if(status.equals(DetectionStatus.NO_COVERAGE)) {

if(notDetected.size() > 0) {
classification = MethodClassification.PSEUDO_TESTED;

if(detected.size() > 0) {
classification = MethodClassification.PARTIALLY_TESTED;
}
}
if(detected.size() > 0) {
classification = MethodClassification.PARTIALLY_TESTED;
}

}

report.writeStringListAttribute("detected", detected);
Expand Down

0 comments on commit bf4ab16

Please sign in to comment.