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
Modifier and TypeMethodDescriptionapplyToClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode) applyToPackage(String path, String packageName, Collection<MetricResult> childMetricResults) getName()boolean
-
Method Details
-
getName
String getName() -
getBaseLevel
MetricLevel getBaseLevel() -
applyToClass
-
applyToPackage
MetricResult applyToPackage(String path, String packageName, Collection<MetricResult> childMetricResults) -
getFunctions
-
isEnabled
boolean isEnabled()
-