| Modifier and Type | Field and Description |
|---|---|
protected static Map<Mutation,Integer> |
MutationAssertionGenerator.exceptionMutations |
protected Set<Mutation> |
Assertion.killedMutants |
protected Map<Integer,Mutation> |
MutationAssertionGenerator.mutants |
protected static Map<Mutation,Integer> |
MutationAssertionGenerator.timedOutMutations |
| Modifier and Type | Method and Description |
|---|---|
Set<Mutation> |
Assertion.getKilledMutations() |
| Modifier and Type | Method and Description |
|---|---|
void |
Assertion.addKilledMutation(Mutation m) |
protected ExecutionResult |
MutationAssertionGenerator.runTest(TestCase test,
Mutation mutant)
Execute a test case on a mutant
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
MutationAssertionGenerator.getNumKilledMutants(TestCase test,
Map<Mutation,List<OutputTrace<?>>> mutation_traces,
List<Mutation> executedMutants) |
protected int |
MutationAssertionGenerator.getNumKilledMutants(TestCase test,
Map<Mutation,List<OutputTrace<?>>> mutation_traces,
List<Mutation> executedMutants) |
| Modifier and Type | Field and Description |
|---|---|
protected Mutation |
MutationTestFitness.mutation |
| Modifier and Type | Field and Description |
|---|---|
static Map<Mutation,Integer> |
MutationTimeoutStoppingCondition.timeouts |
| Modifier and Type | Method and Description |
|---|---|
static Mutation |
MutationPool.addMutation(String className,
String methodName,
String mutationName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.AbstractInsnNode mutation,
org.objectweb.asm.tree.InsnList distance)
addMutation
|
static Mutation |
MutationPool.addMutation(String className,
String methodName,
String mutationName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.InsnList mutation,
org.objectweb.asm.tree.InsnList distance)
addMutation
|
static Mutation |
MutationPool.getMutant(int id) |
Mutation |
MutationTestFitness.getMutation()
Getter for the field
mutation. |
| Modifier and Type | Method and Description |
|---|---|
static List<Mutation> |
MutationPool.getMutants()
getMutants
|
static Set<Mutation> |
MutationTestPool.getUncoveredMutants()
getUncoveredMutants
|
static List<Mutation> |
MutationPool.retrieveMutationsInMethod(String className,
String methodName)
Returns a List containing all mutants in the given class and method
Should no such mutant exist an empty List is returned
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MutationObserver.activateMutation(Mutation mutation)
activateMutation
|
static void |
MutationTestPool.addTest(Mutation mutation,
TestChromosome test)
Keep a copy of a test that covers a mutant
|
int |
Mutation.compareTo(Mutation o) |
static void |
MutationObserver.deactivateMutation(Mutation mutation)
deactivateMutation
|
static boolean |
MutationTestPool.isCovered(Mutation mutation)
isCovered
|
static boolean |
MutationTimeoutStoppingCondition.isDisabled(Mutation mutation)
isDisabled
|
static void |
MutationTimeoutStoppingCondition.raisedException(Mutation mutation)
raisedException
|
static ExecutionResult |
StrongMutationTestFitness.runTest(TestCase test,
Mutation mutant) |
ExecutionResult |
StrongMutationSuiteFitness.runTest(TestCase test,
Mutation mutant)
runTest
|
static ExecutionResult |
MutationTestFitness.runTest(TestCase test,
Mutation mutant)
runTest
|
ExecutionResult |
MutationSuiteFitness.runTest(TestCase test,
Mutation mutant)
runTest
|
static void |
MutationTimeoutStoppingCondition.timeOut(Mutation mutation)
timeOut
|
| Constructor and Description |
|---|
MutationTestFitness(Mutation mutation)
Constructor for MutationTestFitness.
|
OnlyMutationTestFitness(Mutation m) |
StrongMutationTestFitness(Mutation mutation)
Constructor for StrongMutationTestFitness.
|
WeakMutationTestFitness(Mutation mutation)
Constructor for WeakMutationTestFitness.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MutationInstrumentation.addInstrumentation(org.objectweb.asm.tree.MethodNode mn,
org.objectweb.asm.tree.AbstractInsnNode original,
List<Mutation> mutations)
addInstrumentation
|
| Modifier and Type | Method and Description |
|---|---|
List<Mutation> |
ReplaceVariable.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
ReplaceConstant.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
ReplaceComparisonOperator.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
ReplaceBitwiseOperator.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
ReplaceArithmeticOperator.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
NegateCondition.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
MutationOperator.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
InsertUnaryOperator.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
DeleteStatement.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
List<Mutation> |
DeleteField.apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
| Modifier and Type | Method and Description |
|---|---|
Set<Mutation> |
MutationAnalysisRunner.getKilledMutants() |
Set<Mutation> |
MutationAnalysisRunner.getLiveMutants() |
| Constructor and Description |
|---|
MutationAnalysisRunner(Class<?> klass,
Collection<Mutation> allMutants) |
| Constructor and Description |
|---|
MutationInfo(Mutation m) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Mutation,MutationExecutionResult> |
ExecutableChromosome.lastMutationResult |
| Modifier and Type | Method and Description |
|---|---|
MutationExecutionResult |
ExecutableChromosome.getLastExecutionResult(Mutation mutation)
Getter for the field
lastExecutionResult. |
void |
ExecutableChromosome.setLastExecutionResult(MutationExecutionResult lastExecutionResult,
Mutation mutation)
Setter for the field
lastExecutionResult. |
| Modifier and Type | Field and Description |
|---|---|
Mutation |
ExecutionResult.mutation
Mutation that was active during execution
|
| Constructor and Description |
|---|
ExecutionResult(TestCase t,
Mutation m)
Constructor when executing with mutation
|
Copyright © 2010–2017 EvoSuite. All rights reserved.