ida.pelab.prt.analysis
Class RecognitionAnalysis
java.lang.Object
ida.pelab.prt.analysis.RecognitionAnalysis
public class RecognitionAnalysis
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecognitionAnalysis
public RecognitionAnalysis()
Start
public static void Start()
updateAnalysisInfo
public static void updateAnalysisInfo(cetus.hir.Traversable treeNode,
PatternStructure newPattern)
updateExpressionStatementInfo
public static void updateExpressionStatementInfo(cetus.hir.Traversable treeNode)
updateNodeInfo
public static void updateNodeInfo(cetus.hir.Traversable treeNode)
getPointerCoverage
public static double getPointerCoverage()
getStatementCoverage
public static double getStatementCoverage()
getForLoopCoverage
public static double getForLoopCoverage()
getValidCodeRatio
public static double getValidCodeRatio()
printAnalysisResult
public static void printAnalysisResult()
getNonDetectedStatements
public static java.util.ArrayList<cetus.hir.ExpressionStatement> getNonDetectedStatements()
getStatementCount
public static double getStatementCount()
getDetectedStatementCNT
public static double getDetectedStatementCNT()
getDetectedForloopCNT
public static double getDetectedForloopCNT()
getLoopCount
public static double getLoopCount()
getDetectedPatterns
public static int getDetectedPatterns()
isInvalid
public static boolean isInvalid(cetus.hir.ExpressionStatement node)
setPointerClassExpression
public static void setPointerClassExpression(int pointerClassExpression)
getPointerClassExpression
public static int getPointerClassExpression()
setComputationalStatements
public static void setComputationalStatements(double computationalStatements)
getComputationalStatements
public static double getComputationalStatements()