public class ExpressionComplexityMetric extends ASTMetric
Constructor and Description |
---|
ExpressionComplexityMetric(polyglot.ast.Node node) |
Modifier and Type | Method and Description |
---|---|
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() |
enter, execute, getClassData, leave, printAstMetric
public ExpressionComplexityMetric(polyglot.ast.Node node)
public void addMetrics(ClassData data)
addMetrics
in class ASTMetric
public polyglot.visit.NodeVisitor enter(polyglot.ast.Node parent, polyglot.ast.Node n)
enter
in class polyglot.visit.NodeVisitor
public polyglot.ast.Node leave(polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v)
leave
in class polyglot.visit.NodeVisitor