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(java.lang.String path, java.lang.String packageName, java.util.Collection<MetricResult> childMetricResults)MetricLevelgetBaseLevel()java.util.List<java.lang.String>getFunctions()java.lang.StringgetName()booleanisEnabled()
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getBaseLevel
MetricLevel getBaseLevel()
-
applyToClass
ClassMetricResult applyToClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
-
applyToPackage
MetricResult applyToPackage(java.lang.String path, java.lang.String packageName, java.util.Collection<MetricResult> childMetricResults)
-
getFunctions
java.util.List<java.lang.String> getFunctions()
-
isEnabled
boolean isEnabled()
-
-