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 ClassMetricResultapplyToClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)MetricResultapplyToPackage(String path, String packageName, Collection<MetricResult> childMetricResults)MetricLevelgetBaseLevel()List<String>getFunctions()StringgetName()booleanisEnabled()
-
-
-
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()
-
-