MetricAfferentCouplingMetric, EfferentCouplingMetricpublic abstract class AbstractPackageCouplingMetric extends AbstractMetric
| Modifier and Type | Field | Description |
|---|---|---|
protected static String |
REFERENCED_PACKAGES |
| Constructor | Description |
|---|---|
AbstractPackageCouplingMetric() |
| Modifier and Type | Method | Description |
|---|---|---|
protected ClassMetricResult |
calculateForClass(org.codehaus.groovy.ast.ClassNode classNode,
SourceCode sourceCode) |
|
MetricLevel |
getBaseLevel() |
|
String |
getIgnorePackageNames() |
|
groovy.lang.MetaClass |
getMetaClass() |
|
Object |
getProperty(String property) |
|
Object |
invokeMethod(String method,
Object arguments) |
|
void |
setIgnorePackageNames(String value) |
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
|
void |
setProperty(String property,
Object value) |
applyToClass, applyToPackage, calculateForPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctionsprotected static final String REFERENCED_PACKAGES
public groovy.lang.MetaClass getMetaClass()
getMetaClass in class AbstractMetricpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in class AbstractMetricpublic Object invokeMethod(String method, Object arguments)
invokeMethod in class AbstractMetricpublic Object getProperty(String property)
getProperty in class AbstractMetricpublic void setProperty(String property, Object value)
setProperty in class AbstractMetricpublic final MetricLevel getBaseLevel()
public String getIgnorePackageNames()
public void setIgnorePackageNames(String value)
protected ClassMetricResult calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
calculateForClass in class AbstractMetricCopyright © 2019. All rights reserved.