soot.toolkits.astmetrics
Class StmtSumWeightedByDepth

java.lang.Object
  extended bypolyglot.visit.NodeVisitor
      extended bysoot.toolkits.astmetrics.ASTMetric
          extended bysoot.toolkits.astmetrics.StmtSumWeightedByDepth
All Implemented Interfaces:
MetricInterface

public class StmtSumWeightedByDepth
extends ASTMetric


Field Summary
static boolean tmpAbruptChecker
           
 
Constructor Summary
StmtSumWeightedByDepth(polyglot.ast.Node node)
           
 
Method Summary
 void addMetrics(ClassData data)
           
 polyglot.visit.NodeVisitor enter(polyglot.ast.Node parent, polyglot.ast.Node n)
           
 polyglot.ast.Node leave(polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v)
           
 void reset()
           
 
Methods inherited from class soot.toolkits.astmetrics.ASTMetric
enter, execute, getClassData, leave
 
Methods inherited from class polyglot.visit.NodeVisitor
begin, finish, finish, override, override, toString, visitEdge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tmpAbruptChecker

public static boolean tmpAbruptChecker
Constructor Detail

StmtSumWeightedByDepth

public StmtSumWeightedByDepth(polyglot.ast.Node node)
Method Detail

reset

public void reset()
Specified by:
reset in class ASTMetric

addMetrics

public void addMetrics(ClassData data)
Specified by:
addMetrics in class ASTMetric

enter

public polyglot.visit.NodeVisitor enter(polyglot.ast.Node parent,
                                        polyglot.ast.Node n)

leave

public polyglot.ast.Node leave(polyglot.ast.Node old,
                               polyglot.ast.Node n,
                               polyglot.visit.NodeVisitor v)