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 Constructor Description EfferentCouplingMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterAllSourceCodeProcessed()protected MetricResultcalculateForPackage(String path, String packageName, Collection<MetricResult> childMetricResults)groovy.lang.MetaClassgetMetaClass()protected MetricResultgetMetricResult(String packageName)StringgetName()ObjectgetProperty(String property)ObjectinvokeMethod(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, setIgnorePackageNames
-
Methods inherited from class org.gmetrics.metric.AbstractMetric
applyToClass, applyToPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctions
-
-
-
-
Method Detail
-
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
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractPackageCouplingMetric
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractPackageCouplingMetric
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractPackageCouplingMetric
-
calculateForPackage
protected MetricResult calculateForPackage(String path, String packageName, Collection<MetricResult> childMetricResults)
- Overrides:
calculateForPackagein classAbstractMetric
-
getMetricResult
protected MetricResult getMetricResult(String packageName)
-
afterAllSourceCodeProcessed
public void afterAllSourceCodeProcessed()
- Specified by:
afterAllSourceCodeProcessedin interfacePostProcessingMetric
-
-