Maintains a mapping of packageName -> packages that reference it, as well as a reference to a MetricResult for the associated PackageResultsNode. As this object is updated with subsequent package references, the MetricResult is updated as well. So, the MetricResult for a PackageResultNode is not "complete" until all of the packages have been processed.
Modifiers | Name | Description |
---|---|---|
protected static String |
REFERENCED_FROM_PACKAGES |
Fields inherited from class | Fields |
---|---|
class AbstractCouplingReferenceManager |
ROOT, metricResultMap, referencesFromPackage |
Constructor and description |
---|
AfferentCouplingReferenceManager
(Metric metric) |
Type | Name and description |
---|---|
protected MutableMapMetricResult |
createEmptyMetricResult() |
void |
updateStatisticsForAllPackages() |
Methods inherited from class | Name |
---|---|
class AbstractCouplingReferenceManager |
addReferencesFromPackage, createEmptyMetricResult, getPackageMetricResult, getReferencesFromPackage, isSourcePackageOrAncestor, normalizePackageName, parentPackageName, sortPackagesWithReferencesWithParentFirst, updateStatisticsForAncestorPackage |