public class AmbiguityCoverageFactory extends AbstractFitnessFactory<LineCoverageTestFitness> implements Serializable
goalComputationTime| Constructor and Description |
|---|
AmbiguityCoverageFactory() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getAmbiguity(int number_of_components,
Map<String,Integer> groups) |
List<LineCoverageTestFitness> |
getCoverageGoals()
Generate a list of goals to cover
|
protected static double |
getDefaultAmbiguity(List<StringBuilder> matrix) |
static List<LineCoverageTestFitness> |
getGoals() |
static double |
getMaxAmbiguityScore() |
static List<StringBuilder> |
getTransposedMatrix() |
protected static void |
loadCoverage()
Read the coverage of a test suite from a file
|
protected static void |
reset() |
getFitness, isCUTprotected static void loadCoverage()
public List<LineCoverageTestFitness> getCoverageGoals()
TestFitnessFactorygetCoverageGoals in interface TestFitnessFactory<LineCoverageTestFitness>List object.public static List<LineCoverageTestFitness> getGoals()
public static List<StringBuilder> getTransposedMatrix()
public static double getMaxAmbiguityScore()
protected static double getDefaultAmbiguity(List<StringBuilder> matrix)
matrix - transposed matrixpublic static double getAmbiguity(int number_of_components,
Map<String,Integer> groups)
matrix - transposed matrixprotected static void reset()
Copyright © 2010–2017 EvoSuite. All rights reserved.