public class PitMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
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) |
protected org.apache.maven.project.MavenProject project
protected final GoalStrategy goalStrategy
public PitMojo()
public PitMojo(GoalStrategy strategy)
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<MutationStatistics> 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()
Copyright © 2013. All Rights Reserved.