Class ExpressionComplexityMetric

  • All Implemented Interfaces:
    MetricInterface

    public class ExpressionComplexityMetric
    extends ASTMetric
    Author:
    Michael Batchelder Created on 7-Mar-2006
    • Constructor Detail

      • ExpressionComplexityMetric

        public ExpressionComplexityMetric​(polyglot.ast.Node node)
    • Method Detail

      • reset

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

        public polyglot.visit.NodeVisitor enter​(polyglot.ast.Node parent,
                                                polyglot.ast.Node n)
        Overrides:
        enter in class polyglot.visit.NodeVisitor
      • leave

        public polyglot.ast.Node leave​(polyglot.ast.Node old,
                                       polyglot.ast.Node n,
                                       polyglot.visit.NodeVisitor v)
        Overrides:
        leave in class polyglot.visit.NodeVisitor