public class MethodNoExceptionCoverageSuiteFitness extends MethodCoverageSuiteFitness
bestFitness, maxCoveredMethods, methodCoverageMap, methods, removedMethods, toRemoveMethods, totalMethods| Constructor and Description |
|---|
MethodNoExceptionCoverageSuiteFitness() |
| 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 super-constructor, 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, updateIndividualpublic MethodNoExceptionCoverageSuiteFitness()
protected void determineCoverageGoals()
determineCoverageGoals in class MethodCoverageSuiteFitnessprotected boolean analyzeTraces(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, List<ExecutionResult> results, Set<String> calledMethods)
analyzeTraces in class MethodCoverageSuiteFitnessresults - calledMethods - protected void handleConstructorExceptions(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, List<ExecutionResult> results, Set<String> calledMethods)
MethodCoverageSuiteFitnesshandleConstructorExceptions in class MethodCoverageSuiteFitnessprotected void printStatusMessages(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, int coveredMethods, double fitness)
printStatusMessages in class MethodCoverageSuiteFitnesscoveredMethods - fitness - Copyright © 2010–2017 EvoSuite. All rights reserved.