Package org.gmetrics.metric
Interface MethodMetric
-
- All Superinterfaces:
Metric
- All Known Implementing Classes:
AbcMetric,AbstractCoberturaCoverageMetric,AbstractMethodMetric,CoberturaBranchCoverageMetric,CoberturaLineCoverageMetric,CrapMetric,CyclomaticComplexityMetric,MethodLineCountMetric
public interface MethodMetric extends Metric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricResultapplyToClosure(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression, SourceCode sourceCode)MetricResultapplyToMethod(org.codehaus.groovy.ast.MethodNode methodNode, SourceCode sourceCode)-
Methods inherited from interface org.gmetrics.metric.Metric
applyToClass, applyToPackage, getBaseLevel, getFunctions, getName, isEnabled
-
-
-
-
Method Detail
-
applyToMethod
MetricResult applyToMethod(org.codehaus.groovy.ast.MethodNode methodNode, SourceCode sourceCode)
-
applyToClosure
MetricResult applyToClosure(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression, SourceCode sourceCode)
-
-