Package org.gmetrics.metric
Interface Metric
-
- All Known Subinterfaces:
MethodMetric
- All Known Implementing Classes:
AbcMetric
,AbstractCoberturaCoverageMetric
,AbstractMethodMetric
,AbstractMetric
,AbstractPackageCouplingMetric
,AfferentCouplingMetric
,ClassCountMetric
,ClassLineCountMetric
,CoberturaBranchCoverageMetric
,CoberturaLineCoverageMetric
,CrapMetric
,CyclomaticComplexityMetric
,EfferentCouplingMetric
,FieldCountMetric
,MethodCountMetric
,MethodLineCountMetric
public interface Metric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassMetricResult
applyToClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
MetricResult
applyToPackage(String path, String packageName, Collection<MetricResult> childMetricResults)
MetricLevel
getBaseLevel()
List<String>
getFunctions()
String
getName()
boolean
isEnabled()
-
-
-
Method Detail
-
getName
String getName()
-
getBaseLevel
MetricLevel getBaseLevel()
-
applyToClass
ClassMetricResult applyToClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
-
applyToPackage
MetricResult applyToPackage(String path, String packageName, Collection<MetricResult> childMetricResults)
-
isEnabled
boolean isEnabled()
-
-