Link Search Menu Expand Document

Advanced Filtering

Requires pitest 1.16.0 or above.

Provided by the arcmutate-base plugin.

Maven Central

Uncovered Mutant Filter

Mutants with no test coverage can be excluded from the report by activating the feature nouncovered.

e.g. for maven

<plugin>
  <groupId>org.pitest</groupId>
  <artifactId>pitest-maven</artifactId>
  <version>1.16.1</version>
    <dependencies>
      <dependency>
        <groupId>com.arcmutate</groupId>
        <artifactId>base</artifactId>
        <version>1.3.0</version>
      </dependency>
    </dependencies>
    <configuration>
      <features>
        <feature>+nouncovered</feature>
      </features>
    </configuration>
</plugin>

As uncovered mutants have very low processing cost, activating this filter is unlikely to reduce analysis times. It may however be desirable to remove uncovered mutants from the report when working in test or mixed git mode.