Package com.ensoftcorp.open.cg.analysis
Class CGAnalysis
- java.lang.Object
-
- com.ensoftcorp.open.cg.analysis.CGAnalysis
-
- Direct Known Subclasses:
ClassHierarchyAnalysis
,ClassicHybridTypeAnalysis
,ExceptionTypeAnalysis
,FieldTypeAnalysis
,HybridTypeAnalysis
,MethodTypeAnalysis
,RapidTypeAnalysis
,ReachabilityAnalysis
,ZeroControlFlowAnalysis
public abstract class CGAnalysis extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String[]
getCallEdgeTags()
Returns the set of tags applied to edges during call graph constructioncom.ensoftcorp.atlas.core.query.Q
getCallGraph()
Returns the call graph produced by the algorithmabstract java.lang.String
getName()
abstract java.lang.String[]
getPerControlFlowEdgeTags()
Returns the set of tags applied to per control flow edges during call graph constructioncom.ensoftcorp.atlas.core.query.Q
getPerControlFlowGraph()
Returns the call graph produced by the algorithmboolean
hasRun()
Returns true if the call graph construction has completeddouble
run()
Runs the call graph construction (if it hasn't been run already) and returns the time in milliseconds to complete the analysis
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
-
getCallGraph
public com.ensoftcorp.atlas.core.query.Q getCallGraph()
Returns the call graph produced by the algorithm- Returns:
-
getCallEdgeTags
public abstract java.lang.String[] getCallEdgeTags()
Returns the set of tags applied to edges during call graph construction- Returns:
-
getPerControlFlowGraph
public com.ensoftcorp.atlas.core.query.Q getPerControlFlowGraph()
Returns the call graph produced by the algorithm- Returns:
-
getPerControlFlowEdgeTags
public abstract java.lang.String[] getPerControlFlowEdgeTags()
Returns the set of tags applied to per control flow edges during call graph construction- Returns:
-
hasRun
public boolean hasRun()
Returns true if the call graph construction has completed- Returns:
-
run
public double run()
Runs the call graph construction (if it hasn't been run already) and returns the time in milliseconds to complete the analysis- Returns:
-
-