public class DependencyAnalysis extends Object
| Constructor and Description |
|---|
DependencyAnalysis() |
| Modifier and Type | Method and Description |
|---|---|
static void |
analyzeClass(String className,
List<String> classPath)
Start analysis from target class
|
static Set<String> |
analyzeTarget(String target,
List<String> classPath)
Start analysis from target
|
static Collection<org.objectweb.asm.tree.ClassNode> |
getAllClassNodes() |
static CallGraph |
getCallGraph() |
static CallGraph |
getCallGraph(String className) |
static org.objectweb.asm.tree.ClassNode |
getClassNode(String className) |
static InheritanceTree |
getInheritanceTree() |
static boolean |
isTargetClassName(String className)
Determine if the given class is the target class
|
static boolean |
isTargetProject(String className) |
static boolean |
shouldAnalyze(String className)
Determine if the given class should be analyzed or instrumented
|
static boolean |
shouldInstrument(String className,
String methodName)
Determine if the given method should be instrumented
|
public static InheritanceTree getInheritanceTree()
public static void analyzeClass(String className, List<String> classPath) throws RuntimeException, ClassNotFoundException
className - RuntimeExceptionClassNotFoundExceptionpublic static Set<String> analyzeTarget(String target, List<String> classPath) throws RuntimeException, ClassNotFoundException
target - (e.g., directory, or jar file)RuntimeExceptionClassNotFoundExceptionpublic static CallGraph getCallGraph(String className)
className - public static CallGraph getCallGraph()
public static boolean isTargetClassName(String className)
className - public static boolean isTargetProject(String className)
public static boolean shouldAnalyze(String className)
className - public static boolean shouldInstrument(String className, String methodName)
className - methodName - public static org.objectweb.asm.tree.ClassNode getClassNode(String className)
public static Collection<org.objectweb.asm.tree.ClassNode> getAllClassNodes()
Copyright © 2010–2017 EvoSuite. All rights reserved.