org.gmetrics.metric.linecount
Class MethodLineCountMetric
java.lang.Object
org.gmetrics.metric.AbstractMetric
org.gmetrics.metric.AbstractMethodMetric
org.gmetrics.metric.linecount.MethodLineCountMetric
class MethodLineCountMetric
extends AbstractMethodMetric
Metric for counting the lines of code for methods and closure fields.
- Authors:
- Chris Mair
- Version:
- \$Revision: 130 \$ - \$Date: 2010-07-21 22:46:24 -0400 (Wed, 21 Jul 2010) \$
name
final String name
-
MethodLineCountMetric
MethodLineCountMetric()
-
calculate
MetricResult calculate(org.codehaus.groovy.ast.MethodNode methodNode, SourceCode sourceCode)
-
calculate
MetricResult calculate(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression, SourceCode sourceCode)
-
Groovy Documentation