Skip to content

Commit

Permalink
remove misleading log message
Browse files Browse the repository at this point in the history
All mutants appear as uncovered during the pre-scan. The fact that a
mutant is uncovered can be determined from its status, so this log
message is now more misleading than it is useful.
  • Loading branch information
Henry Coles committed Apr 22, 2021
1 parent cda2e97 commit bdba92f
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
*/
package org.pitest.mutationtest.build;

import java.util.Collection;
import java.util.List;
import java.util.logging.Logger;

import org.pitest.bytecode.analysis.ClassTree;
import org.pitest.classinfo.CachingByteArraySource;
import org.pitest.classinfo.ClassByteArraySource;
Expand All @@ -26,11 +22,11 @@
import org.pitest.mutationtest.MutationConfig;
import org.pitest.mutationtest.engine.Mutater;
import org.pitest.mutationtest.engine.MutationDetails;
import org.pitest.util.Log;

public class MutationSource {
import java.util.Collection;
import java.util.List;

private static final Logger LOG = Log.getLogger();
public class MutationSource {

private final MutationConfig mutationConfig;
private final TestPrioritiser testPrioritiser;
Expand Down Expand Up @@ -76,9 +72,6 @@ private void assignTestsToMutations(
for (final MutationDetails mutation : availableMutations) {
final List<TestInfo> testDetails = this.testPrioritiser
.assignTests(mutation);
if (testDetails.isEmpty()) {
LOG.fine("According to coverage no tests hit the mutation " + mutation);
}
mutation.addTestsInOrder(testDetails);
}
}
Expand Down

0 comments on commit bdba92f

Please sign in to comment.