| Package | Description |
|---|---|
| org.evosuite.coverage.dataflow | |
| org.evosuite.coverage.dataflow.analysis |
| Modifier and Type | Method and Description |
|---|---|
static DefUseCoverageTestFitness |
DefUseCoverageFactory.createGoal(BytecodeInstruction def,
BytecodeInstruction use,
DefUseCoverageTestFitness.DefUsePairType type)
Convenience method that retrieves the Definition and Use object for the
given BytecodeInstructions from the DefUsePool and calls
createGoal(Definition,Use)
|
static DefUseCoverageTestFitness |
DefUseCoverageFactory.createGoal(Definition def,
Use use,
DefUseCoverageTestFitness.DefUsePairType type)
Given a definition and a use, this method creates a DefUseCoverageGoal
for this DefUsePair.
|
static DefUseCoverageTestFitness |
DefUseCoverageFactory.retrieveGoal(Definition def,
Use use)
retrieveGoal
|
static DefUseCoverageTestFitness |
DefUseCoverageFactory.retrieveGoal(int defId,
int useId)
retrieveGoal
|
| Modifier and Type | Method and Description |
|---|---|
List<DefUseCoverageTestFitness> |
DefUseCoverageFactory.getCoverageGoals()
Generate a list of goals to cover
|
static Set<DefUseCoverageTestFitness> |
DefUseExecutionTraceAnalyzer.getCoveredGoals(ExecutionResult result)
getCoveredGoals
|
static Set<DefUseCoverageTestFitness> |
DefUseExecutionTraceAnalyzer.getCoveredGoals(List<ExecutionResult> results)
getCoveredGoals
|
static List<DefUseCoverageTestFitness> |
DefUseCoverageFactory.getDUGoals()
getDUGoals
|
static Set<DefUseCoverageTestFitness> |
DefUseCoverageFactory.getParameterGoals()
For each parameterUse in the CUT this method creates a
DefUseCoverageTestFitness that tries to cover that use
|
static Map<Use,DefUseCoverageTestFitness> |
DefUseCoverageFactory.getRegisteredGoalsForDefinition(Definition def)
getRegisteredGoalsForDefinition
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DefUseFitnessCalculator.traceCoversGoal(DefUseCoverageTestFitness goal,
Chromosome individual,
ExecutionTrace trace)
Only a sanity check function for testing purposes
|
| Constructor and Description |
|---|
DefUseFitnessCalculator(DefUseCoverageTestFitness goal,
TestChromosome individual,
ExecutionResult result)
Constructor for DefUseFitnessCalculator.
|
| Constructor and Description |
|---|
AllDefsCoverageTestFitness(Definition def,
Map<Use,DefUseCoverageTestFitness> uses)
Constructor for AllDefsCoverageTestFitness.
|
| Modifier and Type | Method and Description |
|---|---|
Set<DefUseCoverageTestFitness> |
AllUsesAnalysis.determineDefUsePairs()
Makes a run of determineInterMethodPairs() for each public method.
|
Copyright © 2010–2017 EvoSuite. All rights reserved.