Package org.gmetrics.metric.coupling
Class EfferentCouplingMetric
java.lang.Object
org.gmetrics.metric.AbstractMetric
org.gmetrics.metric.coupling.AbstractPackageCouplingMetric
org.gmetrics.metric.coupling.EfferentCouplingMetric
- All Implemented Interfaces:
groovy.lang.GroovyObject,Metric,PostProcessingMetric
public class EfferentCouplingMetric
extends AbstractPackageCouplingMetric
implements PostProcessingMetric
-
Field Summary
Fields inherited from class org.gmetrics.metric.coupling.AbstractPackageCouplingMetric
REFERENCED_PACKAGES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected MetricResultcalculateForPackage(String path, String packageName, Collection<MetricResult> childMetricResults) groovy.lang.MetaClassprotected MetricResultgetMetricResult(String packageName) final StringgetName()getProperty(String property) invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) Methods inherited from class org.gmetrics.metric.coupling.AbstractPackageCouplingMetric
calculateForClass, getBaseLevel, getIgnorePackageNames, setIgnorePackageNamesMethods inherited from class org.gmetrics.metric.AbstractMetric
applyToClass, applyToPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctions
-
Constructor Details
-
EfferentCouplingMetric
public EfferentCouplingMetric()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractPackageCouplingMetric
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractPackageCouplingMetric
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractPackageCouplingMetric
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractPackageCouplingMetric
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractPackageCouplingMetric
-
getName
-
calculateForPackage
protected MetricResult calculateForPackage(String path, String packageName, Collection<MetricResult> childMetricResults) - Overrides:
calculateForPackagein classAbstractMetric
-
getMetricResult
-
afterAllSourceCodeProcessed
public void afterAllSourceCodeProcessed()- Specified by:
afterAllSourceCodeProcessedin interfacePostProcessingMetric
-