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 ClassMetricResult
calculateForClass
(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode) final MetricLevel
groovy.lang.MetaClass
getProperty
(String property) invokeMethod
(String method, Object arguments) void
setIgnorePackageNames
(String value) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classAbstractMetric
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classAbstractMetric
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classAbstractMetric
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classAbstractMetric
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classAbstractMetric
-
getBaseLevel
-
getIgnorePackageNames
-
setIgnorePackageNames
-
calculateForClass
protected ClassMetricResult calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode) - Specified by:
calculateForClass
in classAbstractMetric
-