Search in sources :

Example 1 with AllUsesAnalysis

use of org.evosuite.coverage.dataflow.analysis.AllUsesAnalysis in project evosuite by EvoSuite.

the class DefUseCoverageFactory method getCCFGPairs.

private static Set<DefUseCoverageTestFitness> getCCFGPairs() {
    ClassControlFlowGraph ccfg = GraphPool.getInstance(TestGenerationContext.getInstance().getClassLoaderForSUT()).getCCFG(Properties.TARGET_CLASS);
    AllUsesAnalysis aua = new AllUsesAnalysis(ccfg);
    Set<DefUseCoverageTestFitness> r = aua.determineDefUsePairs();
    return r;
}
Also used : AllUsesAnalysis(org.evosuite.coverage.dataflow.analysis.AllUsesAnalysis) ClassControlFlowGraph(org.evosuite.graphs.ccfg.ClassControlFlowGraph)

Aggregations

AllUsesAnalysis (org.evosuite.coverage.dataflow.analysis.AllUsesAnalysis)1 ClassControlFlowGraph (org.evosuite.graphs.ccfg.ClassControlFlowGraph)1