Abstract superclass for Afferent/efferent coupling reference manager classes.
Modifiers | Name | Description |
---|---|---|
protected static String |
ROOT |
|
protected Map<String, MutableMapMetricResult> |
metricResultMap |
|
protected Map<String, Set<String>> |
referencesFromPackage |
Constructor and description |
---|
AbstractCouplingReferenceManager
(Metric metric) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addReferencesFromPackage(String rawPackageName, Collection<String> rawPackages) |
|
protected MutableMapMetricResult |
createEmptyMetricResult() |
|
MetricResult |
getPackageMetricResult(String rawPackageName) |
|
protected Set<String> |
getReferencesFromPackage(String rawPackageName) |
|
protected boolean |
isSourcePackageOrAncestor(String packageName) |
|
protected String |
normalizePackageName(String name) |
|
protected String |
parentPackageName(String packageName) |
|
protected SortedSet |
sortPackagesWithReferencesWithParentFirst() |
|
protected void |
updateStatisticsForAncestorPackage(String packageName, int addToTotal, int addToCount) |
Groovy Documentation