Modifier and Type | Class and Description |
---|---|
class |
UnviableClassMutator |
Modifier and Type | Method and Description |
---|---|
Collection<? extends MethodMutatorFactory> |
MutationEngineConfiguration.mutators() |
Modifier and Type | Method and Description |
---|---|
MutationIdentifier |
MutationContext.registerMutation(MethodMutatorFactory factory,
String description) |
Constructor and Description |
---|
AbstractInsnMutator(MethodMutatorFactory factory,
MethodInfo methodInfo,
MutationContext context,
org.objectweb.asm.MethodVisitor delegateMethodVisitor) |
AbstractJumpMutator(MethodMutatorFactory factory,
MutationContext context,
org.objectweb.asm.MethodVisitor writer) |
Constructor and Description |
---|
GregorMutater(ClassByteArraySource byteSource,
Predicate<MethodInfo> filter,
Collection<MethodMutatorFactory> mutators) |
Modifier and Type | Method and Description |
---|---|
static Collection<MethodMutatorFactory> |
Mutator.all() |
static Collection<MethodMutatorFactory> |
Mutator.aod() |
static Collection<MethodMutatorFactory> |
Mutator.aor() |
static Collection<MethodMutatorFactory> |
Mutator.betterReturns() |
static Collection<MethodMutatorFactory> |
Mutator.byName(String name) |
static Collection<MethodMutatorFactory> |
Mutator.crcr() |
static Collection<MethodMutatorFactory> |
Mutator.fromStrings(Collection<String> names) |
Collection<? extends MethodMutatorFactory> |
DefaultMutationEngineConfiguration.mutators() |
static Collection<MethodMutatorFactory> |
Mutator.newDefaults()
Proposed new defaults - replaced the RETURN_VALS mutator with the new more stable set
|
static Collection<MethodMutatorFactory> |
Mutator.obbn() |
static Collection<MethodMutatorFactory> |
Mutator.oldDefaults()
Default set of mutators - designed to provide balance between strength and
performance
|
static Collection<MethodMutatorFactory> |
Mutator.ror() |
static Collection<MethodMutatorFactory> |
Mutator.uoi() |
Modifier and Type | Method and Description |
---|---|
MutationEngine |
GregorEngineFactory.createEngineWithMutators(Collection<String> excludedMethods,
Collection<? extends MethodMutatorFactory> mutators) |
Constructor and Description |
---|
DefaultMutationEngineConfiguration(Predicate<MethodInfo> filter,
Collection<? extends MethodMutatorFactory> mutators) |
Modifier and Type | Class and Description |
---|---|
class |
ArgumentPropagationMutator
Mutator for non-void methods that have a parameter that matches the return
type: it replaces the result of the method call with a parameter.
|
class |
BooleanFalseReturnValsMutator
Replaces primitive and boxed boolean return values with false
|
class |
BooleanTrueReturnValsMutator |
class |
ConditionalsBoundaryMutator |
class |
ConstructorCallMutator |
class |
EmptyObjectReturnValsMutator
Mutates object return values to always return an "empty" value such
as 0, Optional.none etc.
|
class |
IncrementsMutator |
class |
InlineConstantMutator
The
InlineConstantMutator is a mutator that mutates integer
inline constants (including short, byte, long) by adding 1 and that mutates
float inline constants (including double) by replacing them with 1. |
class |
InvertNegsMutator |
class |
MathMutator |
class |
NegateConditionalsMutator |
class |
NonVoidMethodCallMutator |
class |
NullMutateEverything
Creates "mutants" that contain no changes at all possible mutation
points.
|
class |
NullReturnValsMutator
Mutates object return values to always return null
Does not mutate return types for which a more stable return value
mutation exists.
|
class |
PrimitiveReturnsMutator
Replaces primitive return values with 0.
|
class |
RemoveConditionalMutator |
class |
ReturnValsMutator |
class |
VoidMethodCallMutator |
Modifier and Type | Method and Description |
---|---|
static List<MethodMutatorFactory> |
NullMutateEverything.asList() |
static Iterable<MethodMutatorFactory> |
RemoveConditionalMutator.makeMutators() |
Modifier and Type | Class and Description |
---|---|
class |
BigIntegerMutator |
class |
MemberVariableMutator
The
MemberVariableMutator is a mutator that mutates assignments
to member variables by removing them. |
class |
NakedReceiverMutator
Mutator for non-void methods whos return type matches
the receiver's type that replaces the method call with the receiver.
|
class |
RemoveIncrementsMutator |
class |
RemoveSwitchMutator
Remove switch statements.
|
class |
ReturnValuesMutator
The
ReturnValuesMutator mutates the return values of method
calls. |
class |
SwitchMutator
Mutate switch statements.
|
Modifier and Type | Method and Description |
---|---|
static Iterable<MethodMutatorFactory> |
RemoveSwitchMutator.makeMutators() |
Modifier and Type | Class and Description |
---|---|
class |
ABSMutator
Mutator designed to insert (-) in front of Integer, Float, Long, Double
variable values.
|
class |
AOD1Mutator
Mutator that replaces (a+b) by a;
Does the same for the operators (*,/,%,-).
|
class |
AOD2Mutator
Mutator that replaces (a+b) by b;
Does the same for the operators (*,/,%,-).
|
class |
AOR1Mutator |
class |
AOR2Mutator |
class |
AOR3Mutator |
class |
AOR4Mutator |
class |
CRCR1Mutator
Mutator that replaces an inline constant with 1;
|
class |
CRCR2Mutator
Mutator that replaces an inline constant with 0;
|
class |
CRCR3Mutator
Mutator that replaces an inline constant with -1;
|
class |
CRCR4Mutator
Mutator that replaces an inline constant with -constant or with maxValue for minValue of int and long;
|
class |
CRCR5Mutator
Mutator that replaces an inline constant with constant + 1
Does not mutate if precision would make the mutant equivalent;
|
class |
CRCR6Mutator
Mutator that replaces an inline constant with constant-1;
Does not mutate if precision would make the mutant equivalent
|
class |
OBBN1Mutator
Replaces bitwise "and" and "or" with each other
|
class |
OBBN2Mutator
Replaces bitwise "and" and "or" by the first member
|
class |
OBBN3Mutator
Replaces bitwise "and" and "or" by the second member
|
class |
ROR1Mutator |
class |
ROR2Mutator |
class |
ROR3Mutator |
class |
ROR4Mutator |
class |
ROR5Mutator |
class |
UOI1Mutator
Mutation operator changing (a) to (a++)
|
class |
UOI2Mutator
Mutation operator changing (a) to (a--)
|
class |
UOI3Mutator
Mutation operator changing (a) to (++a)
|
class |
UOI4Mutator
Mutation operator changing (a) to (--a)
|
Copyright © 2021 org.pitest. All rights reserved.