public class PitMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected Predicate<org.apache.maven.artifact.Artifact> |
filter |
protected GoalStrategy |
goalStrategy |
protected org.apache.maven.project.MavenProject |
project
Internal: Project to interact with.
|
protected ArrayList<String> |
targetClasses
Classes to include in mutation test
|
protected ArrayList<String> |
targetTests
Tests to run
|
| Constructor and Description |
|---|
PitMojo() |
PitMojo(GoalStrategy strategy,
Predicate<org.apache.maven.artifact.Artifact> filter) |
protected final Predicate<org.apache.maven.artifact.Artifact> filter
protected org.apache.maven.project.MavenProject project
protected final GoalStrategy goalStrategy
public PitMojo()
public PitMojo(GoalStrategy strategy, Predicate<org.apache.maven.artifact.Artifact> filter)
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected Option<CombinedStatistics> analyse() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected File detectBaseDir()
public File getReportsDirectory()
public int getMaxDependencyDistance()
public int getThreads()
public boolean isMutateStaticInitializers()
public float getTimeoutFactor()
public long getTimeoutConstant()
public int getMaxMutationsPerClass()
public boolean isVerbose()
public org.apache.maven.project.MavenProject getProject()
public boolean isFailWhenNoMutations()
public int getMutationUnitSize()
public boolean isTimestampedReports()
public boolean isDetectInlinedCode()
public void setTimestampedReports(boolean timestampedReports)
public File getHistoryOutputFile()
public File getHistoryInputFile()
public boolean isExportLineCoverage()
protected boolean shouldRun()
public String getMutationEngine()
public String getJavaExecutable()
public void setJavaExecutable(String javaExecutable)
Copyright © 2013 org.pitest. All Rights Reserved.