|
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.classcount.ClassCountMetric
class ClassCountMetric extends AbstractMetric
Metric for counting the number of classes within each package.
| Property Summary | |
|---|---|
MetricLevel |
baseLevel
|
String |
name
|
| Method Summary | |
|---|---|
protected ClassMetricResult
|
calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
|
protected MetricResult
|
calculateForPackage(String packageName, Collection childMetricResults)
|
| Methods inherited from class AbstractMetric | |
|---|---|
| applyToClass, applyToPackage, calculateForClass, calculateForPackage, createAggregateMetricResult, isNotAnInterface |
| Property Detail |
|---|
final MetricLevel baseLevel
final String name
| Method Detail |
|---|
@SuppressWarnings('UnusedMethodParameter')
protected ClassMetricResult calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
@SuppressWarnings('UnusedMethodParameter')
protected MetricResult calculateForPackage(String packageName, Collection childMetricResults)
Groovy Documentation