|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.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.
Property Summary | |
---|---|
String |
name
|
Method Summary | |
---|---|
MetricResult
|
calculate(org.codehaus.groovy.ast.MethodNode methodNode, SourceCode sourceCode)
|
MetricResult
|
calculate(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression, SourceCode sourceCode)
|
Methods inherited from class AbstractMethodMetric | |
---|---|
applyToClosure, applyToMethod, calculate, calculate, calculateForClass |
Methods inherited from class AbstractMetric | |
---|---|
applyToClass, applyToPackage, calculateForClass, calculateForPackage, createAggregateMetricResult, isNotAnInterface |
Property Detail |
---|
final String name
Method Detail |
---|
MetricResult calculate(org.codehaus.groovy.ast.MethodNode methodNode, SourceCode sourceCode)
MetricResult calculate(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression, SourceCode sourceCode)
Groovy Documentation