Package org.gmetrics.metric.coupling
Class AbstractPackageCouplingMetric
java.lang.Object
org.gmetrics.metric.AbstractMetric
org.gmetrics.metric.coupling.AbstractPackageCouplingMetric
- All Implemented Interfaces:
groovy.lang.GroovyObject,Metric
- Direct Known Subclasses:
AfferentCouplingMetric,EfferentCouplingMetric
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassMetricResultcalculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode) final MetricLevelgroovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) voidsetIgnorePackageNames(String value) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) Methods inherited from class org.gmetrics.metric.AbstractMetric
applyToClass, applyToPackage, calculateForPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctions
-
Field Details
-
REFERENCED_PACKAGES
- See Also:
-
-
Constructor Details
-
AbstractPackageCouplingMetric
public AbstractPackageCouplingMetric()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractMetric
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractMetric
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractMetric
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractMetric
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractMetric
-
getBaseLevel
-
getIgnorePackageNames
-
setIgnorePackageNames
-
calculateForClass
protected ClassMetricResult calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode) - Specified by:
calculateForClassin classAbstractMetric
-