public class StmtSumWeightedByDepth extends ASTMetric
Modifier and Type | Field and Description |
---|---|
static boolean |
tmpAbruptChecker |
Constructor and Description |
---|
StmtSumWeightedByDepth(Node node) |
Modifier and Type | Method and Description |
---|---|
void |
addMetrics(ClassData data) |
NodeVisitor |
enter(Node parent,
Node n) |
Node |
leave(Node old,
Node n,
NodeVisitor v) |
void |
printAstMetric(Node n,
CodeWriter w) |
void |
reset() |
enter, execute, getClassData, leave
public void printAstMetric(Node n, CodeWriter w)
printAstMetric
in class ASTMetric
public void addMetrics(ClassData data)
addMetrics
in class ASTMetric
public NodeVisitor enter(Node parent, Node n)
public Node leave(Node old, Node n, NodeVisitor v)