public class AfferentCouplingMetric extends AbstractPackageCouplingMetric implements PostProcessingMetric, groovy.lang.GroovyObject
REFERENCED_PACKAGES
Constructor and Description |
---|
AfferentCouplingMetric() |
Modifier and Type | Method and Description |
---|---|
void |
afterAllSourceCodeProcessed() |
protected MetricResult |
calculateForPackage(String path,
String packageName,
Collection<MetricResult> childMetricResults) |
groovy.lang.MetaClass |
getMetaClass() |
protected MetricResult |
getMetricResult(String packageName) |
String |
getName() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
calculateForClass, getBaseLevel, getIgnorePackageNames, setIgnorePackageNames
applyToClass, applyToPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctions
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractPackageCouplingMetric
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractPackageCouplingMetric
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractPackageCouplingMetric
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractPackageCouplingMetric
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractPackageCouplingMetric
protected MetricResult calculateForPackage(String path, String packageName, Collection<MetricResult> childMetricResults)
calculateForPackage
in class AbstractMetric
public void afterAllSourceCodeProcessed()
afterAllSourceCodeProcessed
in interface PostProcessingMetric
protected MetricResult getMetricResult(String packageName)
Copyright © 2015. All rights reserved.