Package soot.toolkits.astmetrics
Class StmtSumWeightedByDepth
- java.lang.Object
-
- polyglot.visit.NodeVisitor
-
- soot.toolkits.astmetrics.ASTMetric
-
- soot.toolkits.astmetrics.StmtSumWeightedByDepth
-
- All Implemented Interfaces:
MetricInterface
public class StmtSumWeightedByDepth extends ASTMetric
-
-
Field Summary
Fields Modifier and Type Field Description static booleantmpAbruptChecker
-
Constructor Summary
Constructors Constructor Description StmtSumWeightedByDepth(polyglot.ast.Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMetrics(ClassData data)polyglot.visit.NodeVisitorenter(polyglot.ast.Node parent, polyglot.ast.Node n)polyglot.ast.Nodeleave(polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v)voidprintAstMetric(polyglot.ast.Node n, polyglot.util.CodeWriter w)voidreset()-
Methods inherited from class soot.toolkits.astmetrics.ASTMetric
enter, execute, getClassData, leave
-
-
-
-
Method Detail
-
printAstMetric
public void printAstMetric(polyglot.ast.Node n, polyglot.util.CodeWriter w)- Overrides:
printAstMetricin classASTMetric
-
addMetrics
public void addMetrics(ClassData data)
- Specified by:
addMetricsin classASTMetric
-
enter
public polyglot.visit.NodeVisitor enter(polyglot.ast.Node parent, polyglot.ast.Node n)- Overrides:
enterin classpolyglot.visit.NodeVisitor
-
leave
public polyglot.ast.Node leave(polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v)- Overrides:
leavein classpolyglot.visit.NodeVisitor
-
-