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