| Modifier and Type | Field and Description |
|---|---|
protected Predicate<org.apache.maven.artifact.Artifact> |
filter |
protected GoalStrategy |
goalStrategy |
protected PluginServices |
plugins |
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 |
|---|
AbstractPitMojo() |
AbstractPitMojo(GoalStrategy strategy,
Predicate<org.apache.maven.artifact.Artifact> filter,
PluginServices plugins,
Predicate<org.apache.maven.project.MavenProject> emptyProjectCheck) |
protected final Predicate<org.apache.maven.artifact.Artifact> filter
protected final PluginServices plugins
@Parameter(property="targetClasses") protected ArrayList<String> targetClasses
@Parameter(property="project",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
protected final GoalStrategy goalStrategy
public AbstractPitMojo()
public AbstractPitMojo(GoalStrategy strategy, Predicate<org.apache.maven.artifact.Artifact> filter, PluginServices plugins, Predicate<org.apache.maven.project.MavenProject> emptyProjectCheck)
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected Optional<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 boolean isFullMutationMatrix()
public void setFullMutationMatrix(boolean fullMutationMatrix)
public int getMutationUnitSize()
public boolean isTimestampedReports()
public boolean isDetectInlinedCode()
public void setTimestampedReports(boolean timestampedReports)
public File getHistoryOutputFile()
public File getHistoryInputFile()
public boolean isExportLineCoverage()
protected org.pitest.maven.AbstractPitMojo.RunDecision shouldRun()
public String getMutationEngine()
public String getJavaExecutable()
public void setJavaExecutable(String javaExecutable)
public boolean isParseSurefireConfig()
public boolean useHistory()
public String getTestPlugin()
public boolean isUseClasspathJar()
Copyright © 2018 org.pitest. All rights reserved.