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(java.lang.String path, java.lang.String packageName, java.util.Collection<MetricResult> childMetricResults)
MetricLevel
getBaseLevel()
java.util.List<java.lang.String>
getFunctions()
java.lang.String
getName()
boolean
isEnabled()
-
-
-
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()
-
-