ida.pelab.prt.analysis
Class RecognitionAnalysis

java.lang.Object
  extended by ida.pelab.prt.analysis.RecognitionAnalysis

public class RecognitionAnalysis
extends java.lang.Object


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

Constructor Detail

RecognitionAnalysis

public RecognitionAnalysis()
Method Detail

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()