public class MethodTraceCoverageSuiteFitness extends MethodCoverageSuiteFitness
bestFitness, maxCoveredMethods, methodCoverageMap, methods, removedMethods, toRemoveMethods, totalMethods| Constructor and Description |
|---|
MethodTraceCoverageSuiteFitness() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
analyzeTraces(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite,
List<ExecutionResult> results,
Set<String> calledMethods)
Iterate over all execution results and summarize statistics
|
protected void |
determineCoverageGoals()
Initialize the set of known coverage goals
|
protected void |
handleConstructorExceptions(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite,
List<ExecutionResult> results,
Set<String> calledMethods)
If there is an exception in a superconstructor, then the corresponding
constructor might not be included in the execution trace
|
protected void |
printStatusMessages(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite,
int coveredMethods,
double fitness)
Some useful debug information
|
asSortedList, determineMethods, determineMethods, getFitness, isValidPosition, updateCoveredGoalsisMaximizationFunction, runTest, runTestSuitegetBestStoredIndividual, normalize, updateIndividual, updateIndividualprotected void determineCoverageGoals()
determineCoverageGoals in class MethodCoverageSuiteFitnessprotected void handleConstructorExceptions(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, List<ExecutionResult> results, Set<String> calledMethods)
handleConstructorExceptions in class MethodCoverageSuiteFitnessresults - calledMethods - protected boolean analyzeTraces(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, List<ExecutionResult> results, Set<String> calledMethods)
analyzeTraces in class MethodCoverageSuiteFitnessresults - calledMethods - protected void printStatusMessages(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, int coveredMethods, double fitness)
printStatusMessages in class MethodCoverageSuiteFitnesscoveredMethods - fitness - Copyright © 2010–2017 EvoSuite. All rights reserved.