Interface MethodMetric

All Superinterfaces:
Metric
All Known Implementing Classes:
AbcMetric, AbstractCoberturaCoverageMetric, AbstractMethodMetric, CoberturaBranchCoverageMetric, CoberturaLineCoverageMetric, CrapMetric, CyclomaticComplexityMetric, MethodLineCountMetric

public interface MethodMetric extends Metric
  • Method Details

    • applyToMethod

      MetricResult applyToMethod(org.codehaus.groovy.ast.MethodNode methodNode, SourceCode sourceCode)
    • applyToClosure

      MetricResult applyToClosure(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression, SourceCode sourceCode)