public class MutationPool extends Object
MutationPool class.
| Constructor and Description |
|---|
MutationPool() |
| Modifier and Type | Method and Description |
|---|---|
static Mutation |
addMutation(String className,
String methodName,
String mutationName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.AbstractInsnNode mutation,
org.objectweb.asm.tree.InsnList distance)
addMutation
|
static Mutation |
addMutation(String className,
String methodName,
String mutationName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.InsnList mutation,
org.objectweb.asm.tree.InsnList distance)
addMutation
|
static void |
clear()
Remove all known mutants
|
static Mutation |
getMutant(int id) |
static int |
getMutantCounter()
Returns the number of currently known mutants
|
static List<Mutation> |
getMutants()
getMutants
|
static List<Mutation> |
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
|
public static Mutation addMutation(String className, String methodName, String mutationName, BytecodeInstruction instruction, org.objectweb.asm.tree.AbstractInsnNode mutation, org.objectweb.asm.tree.InsnList distance)
addMutation
className - a String object.methodName - a String object.mutationName - a String object.instruction - a BytecodeInstruction object.mutation - a AbstractInsnNode object.distance - a InsnList object.Mutation object.public static Mutation addMutation(String className, String methodName, String mutationName, BytecodeInstruction instruction, org.objectweb.asm.tree.InsnList mutation, org.objectweb.asm.tree.InsnList distance)
addMutation
className - a String object.methodName - a String object.mutationName - a String object.instruction - a BytecodeInstruction object.mutation - a InsnList object.distance - a InsnList object.Mutation object.public static List<Mutation> retrieveMutationsInMethod(String className, String methodName)
public static Mutation getMutant(int id)
public static void clear()
public static int getMutantCounter()
Copyright © 2010–2017 EvoSuite. All rights reserved.