Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
info.magnolia.classpathwatch | 2 | 2 | 0 | 1 | 13 | 0.0% | 93.0% | 7.0% | 1 |
info.magnolia.dirwatch | 5 | 4 | 1 | 1 | 9 | 20.0% | 90.0% | 10.0% | 1 |
info.magnolia.resourceloader | 8 | 2 | 6 | 5 | 10 | 75.0% | 67.0% | 42.0% | 1 |
info.magnolia.resourceloader.classpath | 10 | 10 | 0 | 1 | 21 | 0.0% | 95.0% | 5.0% | 1 |
info.magnolia.resourceloader.file | 7 | 7 | 0 | 1 | 16 | 0.0% | 94.0% | 6.0% | 1 |
info.magnolia.resourceloader.jcr | 7 | 7 | 0 | 1 | 17 | 0.0% | 94.0% | 6.0% | 1 |
info.magnolia.resourceloader.layered | 5 | 5 | 0 | 1 | 9 | 0.0% | 90.0% | 10.0% | 1 |
info.magnolia.resourceloader.util | 15 | 14 | 1 | 3 | 6 | 7.0% | 67.0% | 27.000002% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 13 | 0.0% | 93.0% | 7.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | info.magnolia.classpathwatch.ClasspathScanner info.magnolia.classpathwatch.ClasspathScannerService |
info.magnolia.resourceloader.classpath |
com.google.common.base com.google.common.collect info.magnolia.init java.io java.lang java.net java.util java.util.concurrent javax.servlet org.reflections org.reflections.scanners org.reflections.util org.slf4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 9 | 20.0% | 90.0% | 10.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
info.magnolia.dirwatch.WatcherCallback |
info.magnolia.dirwatch.DirectoryWatcher info.magnolia.dirwatch.DirectoryWatcher$1 info.magnolia.dirwatch.DirectoryWatcher$WatcherRegistration info.magnolia.dirwatch.DirectoryWatcherService |
info.magnolia.resourceloader.file |
com.google.common.base info.magnolia.cms.util java.io java.lang java.nio.file java.nio.file.attribute java.util java.util.concurrent org.slf4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
5 | 10 | 75.0% | 67.0% | 42.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
info.magnolia.resourceloader.AbstractResource info.magnolia.resourceloader.AbstractResourceOrigin info.magnolia.resourceloader.Resource info.magnolia.resourceloader.ResourceOrigin info.magnolia.resourceloader.ResourceOriginFactory info.magnolia.resourceloader.ResourceVisitor |
info.magnolia.resourceloader.DefaultResourceOrigins info.magnolia.resourceloader.ResourceOrigin$ResourceNotFoundException |
info.magnolia.resourceloader.classpath info.magnolia.resourceloader.file info.magnolia.resourceloader.jcr info.magnolia.resourceloader.layered info.magnolia.resourceloader.util |
info.magnolia.resourceloader.classpath info.magnolia.resourceloader.file info.magnolia.resourceloader.jcr info.magnolia.resourceloader.layered info.magnolia.resourceloader.util java.io java.lang java.nio.charset java.util javax.inject |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 21 | 0.0% | 95.0% | 5.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | info.magnolia.resourceloader.classpath.ClasspathResource info.magnolia.resourceloader.classpath.ClasspathResourceOrigin info.magnolia.resourceloader.classpath.ClasspathResourceOrigin$1 info.magnolia.resourceloader.classpath.ClasspathResourceOrigin$ChildFinder info.magnolia.resourceloader.classpath.ClasspathResourceOriginFactory info.magnolia.resourceloader.classpath.LegacyClasspathResourceOrigin info.magnolia.resourceloader.classpath.LegacyClasspathResourceOrigin$StartsWith info.magnolia.resourceloader.classpath.LegacyClasspathResourceOriginFactory info.magnolia.resourceloader.classpath.URLPredicate info.magnolia.resourceloader.classpath.VisitorFunction |
info.magnolia.resourceloader |
com.google.common.base com.google.common.collect com.google.common.io info.magnolia.classpathwatch info.magnolia.cms.util info.magnolia.init info.magnolia.resourceloader info.magnolia.resourceloader.util java.io java.lang java.net java.nio.charset java.util java.util.jar javax.inject javax.servlet org.apache.commons.lang3 org.reflections org.reflections.scanners org.reflections.util org.slf4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 16 | 0.0% | 94.0% | 6.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | info.magnolia.resourceloader.file.ExclusionsFilter info.magnolia.resourceloader.file.FileSystemResource info.magnolia.resourceloader.file.FileSystemResourceOrigin info.magnolia.resourceloader.file.FileSystemResourceOrigin$1 info.magnolia.resourceloader.file.FileSystemResourceOriginFactory info.magnolia.resourceloader.file.FileWatcherCallback info.magnolia.resourceloader.file.VisitorFunction |
info.magnolia.resourceloader |
com.google.common.base com.google.common.collect info.magnolia.cms.util info.magnolia.dirwatch info.magnolia.init info.magnolia.resourceloader java.io java.lang java.nio.charset java.nio.file java.nio.file.attribute java.util java.util.regex javax.inject org.apache.commons.io org.slf4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 17 | 0.0% | 94.0% | 6.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | info.magnolia.resourceloader.jcr.JcrResource info.magnolia.resourceloader.jcr.JcrResourceOrigin info.magnolia.resourceloader.jcr.JcrResourceOrigin$1 info.magnolia.resourceloader.jcr.JcrResourceOrigin$NodeFilter info.magnolia.resourceloader.jcr.JcrResourceOrigin$NodeToResource info.magnolia.resourceloader.jcr.JcrResourceOrigin$ResourcesObservationListener info.magnolia.resourceloader.jcr.JcrResourceOriginFactory |
info.magnolia.resourceloader |
com.google.common.base com.google.common.collect info.magnolia.cms.util info.magnolia.context info.magnolia.jcr.util info.magnolia.resourceloader java.io java.lang java.nio.charset java.util javax.inject javax.jcr javax.jcr.observation lombok org.apache.commons.io.input org.apache.commons.lang3 org.slf4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 9 | 0.0% | 90.0% | 10.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | info.magnolia.resourceloader.layered.LayeredResource info.magnolia.resourceloader.layered.LayeredResourceOrigin info.magnolia.resourceloader.layered.LayeredResourceOrigin$1 info.magnolia.resourceloader.layered.LayeredResourceOriginFactory info.magnolia.resourceloader.layered.RelayerResourceVisitor |
info.magnolia.resourceloader |
com.google.common.base com.google.common.collect info.magnolia.resourceloader info.magnolia.resourceloader.util java.io java.lang java.nio.charset java.util org.slf4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 6 | 7.0% | 67.0% | 27.000002% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
info.magnolia.resourceloader.util.VoidFunction |
info.magnolia.resourceloader.util.Functions info.magnolia.resourceloader.util.Functions$1 info.magnolia.resourceloader.util.Functions$2 info.magnolia.resourceloader.util.Functions$3 info.magnolia.resourceloader.util.Functions$4 info.magnolia.resourceloader.util.Functions$5 info.magnolia.resourceloader.util.Functions$6 info.magnolia.resourceloader.util.Functions$7 info.magnolia.resourceloader.util.Functions$8 info.magnolia.resourceloader.util.Functions$9 info.magnolia.resourceloader.util.Functions$CollectorFunction info.magnolia.resourceloader.util.LoggingResourceVisitor info.magnolia.resourceloader.util.PredicatedResourceVisitor info.magnolia.resourceloader.util.ResourceTreeWalker |
info.magnolia.resourceloader info.magnolia.resourceloader.classpath info.magnolia.resourceloader.layered |
com.google.common.base info.magnolia.resourceloader java.lang java.util java.util.regex org.slf4j |
Package | Package Dependencies |
---|---|
info.magnolia.resourceloader | info.magnolia.resourceloader.util info.magnolia.resourceloader |
info.magnolia.resourceloader.classpath | info.magnolia.resourceloader info.magnolia.resourceloader.util info.magnolia.resourceloader |
info.magnolia.resourceloader.file | info.magnolia.resourceloader info.magnolia.resourceloader.util info.magnolia.resourceloader |
info.magnolia.resourceloader.jcr | info.magnolia.resourceloader info.magnolia.resourceloader.util info.magnolia.resourceloader |
info.magnolia.resourceloader.layered | info.magnolia.resourceloader info.magnolia.resourceloader.util info.magnolia.resourceloader |
info.magnolia.resourceloader.util | info.magnolia.resourceloader info.magnolia.resourceloader.util |
Term | Description |
---|---|
Number of Classes | The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package. |
Afferent Couplings | The number of other packages that depend upon classes within the package is an indicator of the package's responsibility. |
Efferent Couplings | The number of other packages that the classes in the package depend upon is an indicator of the package's independence. |
Abstractness | The ratio of the number of abstract classes (and interfaces) in the analyzed package to the total number of classes in the analyzed package. The range for this metric is 0 to 1, with A=0 indicating a completely concrete package and A=1 indicating a completely abstract package. |
Instability | The ratio of efferent coupling (Ce) to total coupling (Ce / (Ce + Ca)). This metric is an indicator of the package's resilience to change. The range for this metric is 0 to 1, with I=0 indicating a completely stable package and I=1 indicating a completely instable package. |
Distance | The perpendicular distance of a package from the idealized line A + I = 1. This metric is an indicator of the package's balance between abstractness and stability. A package squarely on the main sequence is optimally balanced with respect to its abstractness and stability. Ideal packages are either completely abstract and stable (x=0, y=1) or completely concrete and instable (x=1, y=0). The range for this metric is 0 to 1, with D=0 indicating a package that is coincident with the main sequence and D=1 indicating a package that is as far from the main sequence as possible. |
Cycles | Packages participating in a package dependency cycle are in a deadly embrace with respect to reusability and their release cycle. Package dependency cycles can be easily identified by reviewing the textual reports of dependency cycles. Once these dependency cycles have been identified with JDepend, they can be broken by employing various object-oriented techniques. |