public class TryCatchCoverageSuiteFitness extends BranchCoverageSuiteFitness
bestFitness, branchCoverageFalseMap, branchCoverageTrueMap, branchesId, maxCoveredBranches, maxCoveredMethods, numBranchlessMethods, totalBranches, totalCovered, totalGoals, totalMethods| Constructor and Description |
|---|
TryCatchCoverageSuiteFitness() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
determineCoverageGoals()
Make sure we only include artificial branches
|
protected void |
handleBranchlessMethods(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite,
ExecutionResult result,
Map<String,Integer> callCount) |
protected void |
handleFalseDistances(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite,
ExecutionResult result,
Map<Integer,Double> falseDistance) |
getFitness, getMaxValue, handlePredicateCount, handleTrueDistances, updateCoveredGoalsisMaximizationFunction, runTest, runTestSuitegetBestStoredIndividual, normalize, updateIndividual, updateIndividualprotected void determineCoverageGoals()
determineCoverageGoals in class BranchCoverageSuiteFitnessprotected void handleBranchlessMethods(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, ExecutionResult result, Map<String,Integer> callCount)
handleBranchlessMethods in class BranchCoverageSuiteFitnessprotected void handleFalseDistances(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite, ExecutionResult result, Map<Integer,Double> falseDistance)
handleFalseDistances in class BranchCoverageSuiteFitnessCopyright © 2010–2017 EvoSuite. All rights reserved.