Metric Results

[ summary ] [ packages ] [ cycles ] [ explanations ]

The following document contains the results of a JDepend metric analysis. The various metrics are defined at the bottom of this document.

Summary

[ summary ] [ packages ] [ cycles ] [ explanations ]

Package TC CC AC Ca Ce A I D V
info.magnolia.dirwatch 4 3 1 1 10 25.0% 91.0% 16.0% 1
info.magnolia.resourceloader 18 10 8 6 12 44.0% 67.0% 11.0% 1
info.magnolia.resourceloader.classpath 11 11 0 3 24 0.0% 89.0% 11.0% 1
info.magnolia.resourceloader.classpath.hierarchy 3 1 2 5 4 67.0% 44.0% 11.0% 1
info.magnolia.resourceloader.classpath.service 4 1 3 3 6 75.0% 67.0% 42.0% 1
info.magnolia.resourceloader.classpath.service.impl 1 1 0 2 5 0.0% 71.0% 29.0% 1
info.magnolia.resourceloader.classpath.service.impl.base 8 5 3 3 13 38.0% 81.0% 19.0% 1
info.magnolia.resourceloader.classpath.service.impl.devmode 4 3 1 3 10 25.0% 77.0% 2.0% 1
info.magnolia.resourceloader.classpath.service.impl.legacy 2 2 0 2 5 0.0% 71.0% 29.0% 1
info.magnolia.resourceloader.classpath.service.impl.production 2 2 0 3 12 0.0% 80.0% 20.0% 1
info.magnolia.resourceloader.file 6 6 0 1 13 0.0% 93.0% 7.0% 1
info.magnolia.resourceloader.jcr 4 4 0 1 15 0.0% 94.0% 6.0% 1
info.magnolia.resourceloader.layered 5 5 0 1 3 0.0% 75.0% 25.0% 1
info.magnolia.resourceloader.util 5 4 1 1 5 20.0% 83.0% 3.0% 1

Packages

[ summary ] [ packages ] [ cycles ] [ explanations ]

info.magnolia.dirwatch

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 10 25.0% 91.0% 16.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.resourceloader.file
info.magnolia.cms.util
info.magnolia.init
java.io
java.lang
java.nio.file
java.nio.file.attribute
java.util
java.util.function
org.apache.commons.lang3
org.slf4j

info.magnolia.resourceloader

Afferent Couplings Efferent Couplings Abstractness Instability Distance
6 12 44.0% 67.0% 11.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.ResourceChangeHandler
info.magnolia.resourceloader.ResourceChangeHandlerRegistration
info.magnolia.resourceloader.ResourceOrigin
info.magnolia.resourceloader.ResourceOriginFactory
info.magnolia.resourceloader.ResourceVisitor
info.magnolia.resourceloader.AbstractResourceOrigin$1
info.magnolia.resourceloader.AbstractResourceOrigin$2
info.magnolia.resourceloader.AbstractResourceOrigin$SimpleChangeHandlerRegistration
info.magnolia.resourceloader.DefaultResourceOrigins
info.magnolia.resourceloader.ResourceOrigin$ResourceNotFoundException
info.magnolia.resourceloader.ResourceOriginChange
info.magnolia.resourceloader.ResourceOriginChange$1
info.magnolia.resourceloader.ResourceOriginChange$Builder
info.magnolia.resourceloader.ResourceOriginChange$Type
info.magnolia.resourceloader.ResourceStub
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader.file
info.magnolia.resourceloader.jcr
info.magnolia.resourceloader.layered
info.magnolia.resourceloader.util
com.google.common.collect
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
org.slf4j

info.magnolia.resourceloader.classpath

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 24 0.0% 89.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.resourceloader.classpath.ClasspathResource
info.magnolia.resourceloader.classpath.ClasspathResourceOrigin$1
info.magnolia.resourceloader.classpath.ClasspathResourceOriginFactory
info.magnolia.resourceloader.classpath.ClasspathServiceProvider
info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations$Builder
info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations$Builder$ConfiguredClasspathServiceConfiguration
info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations$StartsWith
info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations$URLPredicate
info.magnolia.resourceloader.classpath.LegacyClasspathResourceOrigin
info.magnolia.resourceloader.classpath.LegacyClasspathResourceOriginFactory
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.service.impl.legacy
info.magnolia.resourceloader.classpath.service.impl.production
com.google.common.base
com.google.common.collect
com.google.inject
info.magnolia.init
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.hierarchy
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader.classpath.service.impl.legacy
info.magnolia.resourceloader.classpath.service.impl.production
java.io
java.lang
java.net
java.nio.charset
java.util
java.util.function
java.util.regex
java.util.stream
javax.inject
javax.servlet
org.apache.commons.lang3
org.reflections.util
org.slf4j

info.magnolia.resourceloader.classpath.hierarchy

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 4 67.0% 44.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.resourceloader.classpath.hierarchy.ClasspathEntry
info.magnolia.resourceloader.classpath.hierarchy.ClasspathFile
info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader.classpath.service.impl.production
java.io
java.lang
java.util
org.apache.commons.lang3

info.magnolia.resourceloader.classpath.service

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 6 75.0% 67.0% 42.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.resourceloader.classpath.service.ClasspathService
info.magnolia.resourceloader.classpath.service.ClasspathServiceConfiguration
info.magnolia.resourceloader.classpath.service.MonitoredClasspathService
info.magnolia.resourceloader.classpath.service.ClasspathService$ClasspathEntryNotFoundException
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service.impl.production
info.magnolia.resourceloader.classpath.hierarchy
info.magnolia.resourceloader.classpath.service.impl.devmode
java.lang
java.nio.charset
java.util.function
java.util.regex

info.magnolia.resourceloader.classpath.service.impl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 0.0% 71.0% 29.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.resourceloader.classpath.service.impl.URLConnectionUtil
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader.classpath.service.impl.production
java.io
java.lang
java.net
java.util.jar
org.slf4j

info.magnolia.resourceloader.classpath.service.impl.base

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 13 38.0% 81.0% 19.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver$ReflectionsVfsBased
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy$1
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy$DevelopmentModeConstructionStrategy
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy$LegacyResourcesConstructionStrategy
info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy$ProductionModeConstructionStrategy
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service.impl.legacy
info.magnolia.resourceloader.classpath.service.impl.production
com.google.common.collect
info.magnolia.resourceloader.classpath.hierarchy
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader.classpath.service.impl.legacy
info.magnolia.resourceloader.classpath.service.impl.production
java.lang
java.net
java.util
java.util.function
org.apache.commons.lang3
org.reflections.vfs
org.slf4j

info.magnolia.resourceloader.classpath.service.impl.devmode

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 10 25.0% 77.0% 2.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService$ClasspathResourceCallback
info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService$1
info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService$ClasspathResourceChange
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.hierarchy
info.magnolia.resourceloader.classpath.service.impl
java.io
java.lang
java.net
java.util
org.reflections.util
org.reflections.vfs
org.slf4j

info.magnolia.resourceloader.classpath.service.impl.legacy

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 0.0% 71.0% 29.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.resourceloader.classpath.service.impl.legacy.LegacyClasspathFile
info.magnolia.resourceloader.classpath.service.impl.legacy.LegacyClasspathService
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service.impl.production
java.lang
org.apache.commons.lang3

info.magnolia.resourceloader.classpath.service.impl.production

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 12 0.0% 80.0% 20.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathService
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service.impl.legacy
info.magnolia.resourceloader.classpath
info.magnolia.resourceloader.classpath.hierarchy
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl
info.magnolia.resourceloader.classpath.service.impl.base
java.io
java.lang
java.net
java.util
org.apache.commons.lang3
org.reflections.util
org.slf4j

info.magnolia.resourceloader.file

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.resourceloader.file.ExclusionsFilter
info.magnolia.resourceloader.file.FileSystemResource
info.magnolia.resourceloader.file.FileSystemResourceOriginFactory
info.magnolia.resourceloader.file.FileWatcherCallback
info.magnolia.resourceloader.file.FileWatcherCallback$1
info.magnolia.resourceloader.file.VisitorFunction
info.magnolia.resourceloader
info.magnolia.dirwatch
info.magnolia.init
info.magnolia.resourceloader
java.io
java.lang
java.nio.file
java.nio.file.attribute
java.util
java.util.function
java.util.regex
javax.inject
org.apache.commons.io
org.slf4j

info.magnolia.resourceloader.jcr

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 15 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$1
info.magnolia.resourceloader.jcr.JcrResourceOrigin$ResourcesObservationListener
info.magnolia.resourceloader.jcr.JcrResourceOriginFactory
info.magnolia.resourceloader
info.magnolia.cms.util
info.magnolia.context
info.magnolia.jcr.util
info.magnolia.jcr.wrapper
info.magnolia.resourceloader
java.lang
java.util
java.util.regex
javax.inject
javax.jcr
javax.jcr.observation
lombok
org.apache.commons.lang3
org.apache.jackrabbit.commons.predicate
org.slf4j

info.magnolia.resourceloader.layered

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 0.0% 75.0% 25.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.resourceloader.layered.LayeredResource
info.magnolia.resourceloader.layered.LayeredResourceOrigin$1
info.magnolia.resourceloader.layered.LayeredResourceOrigin$AggregateChangeHandlerRegistration
info.magnolia.resourceloader.layered.LayeredResourceOrigin$RelayingChangeHandler
info.magnolia.resourceloader.layered.LayeredResourceOriginFactory
info.magnolia.resourceloader
info.magnolia.resourceloader
java.lang
java.util

info.magnolia.resourceloader.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 20.0% 83.0% 3.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.resourceloader.util.VoidFunction
info.magnolia.resourceloader.util.Functions$1
info.magnolia.resourceloader.util.Functions$CollectorFunction
info.magnolia.resourceloader.util.LoggingResourceVisitor
info.magnolia.resourceloader.util.ResourceTreeWalker
info.magnolia.resourceloader
com.google.common.base
info.magnolia.resourceloader
java.lang
java.util
org.slf4j

Cycles

[ summary ] [ packages ] [ cycles ] [ explanations ]

Package Package Dependencies
info.magnolia.resourceloader info.magnolia.resourceloader.util
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader
info.magnolia.resourceloader.util
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.service info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader
info.magnolia.resourceloader.util
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.service.impl.base info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader
info.magnolia.resourceloader.util
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.service.impl.devmode info.magnolia.resourceloader
info.magnolia.resourceloader.util
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.service.impl.legacy info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.devmode
info.magnolia.resourceloader
info.magnolia.resourceloader.util
info.magnolia.resourceloader
info.magnolia.resourceloader.classpath.service.impl.production info.magnolia.resourceloader.classpath.service.impl.base
info.magnolia.resourceloader.classpath.service
info.magnolia.resourceloader.classpath.service.impl.devmode
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

Explanation

[ summary ] [ packages ] [ cycles ] [ explanations ]

The following explanations are for quick reference and are lifted directly from the original JDepend documentation.

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.