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.cache.browser 1 1 0 1 2 0.0% 67.0% 33.0% 1
info.magnolia.cache.browser.app 13 13 0 4 40 0.0% 91.0% 9.0% 1
info.magnolia.cache.browser.app.action 10 9 1 0 22 10.0% 100.0% 10.0% 1
info.magnolia.cache.browser.app.event 4 2 2 1 2 50.0% 67.0% 17.0% 1
info.magnolia.cache.browser.app.rule 2 2 0 0 4 0.0% 100.0% 0.0% 1
info.magnolia.cache.browser.rest 1 1 0 1 10 0.0% 91.0% 9.0% 1
info.magnolia.cache.browser.rest.client 1 0 1 3 2 100.0% 40.0% 40.0% 1
info.magnolia.cache.browser.rest.endpoint 4 4 0 3 20 0.0% 87.0% 13.0% 1
info.magnolia.cache.browser.rest.filter 1 1 0 1 5 0.0% 83.0% 17.0% 1
info.magnolia.cache.browser.setup 2 2 0 0 8 0.0% 100.0% 0.0% 1

Packages

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

info.magnolia.cache.browser

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 0.0% 67.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.cache.browser.CacheBrowserAppModule
info.magnolia.cache.browser.rest.endpoint
java.lang
java.util

info.magnolia.cache.browser.app

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 40 0.0% 91.0% 9.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.cache.browser.app.BrowserCacheApp
info.magnolia.cache.browser.app.BrowserCacheApp$1
info.magnolia.cache.browser.app.CacheBrowserContainer
info.magnolia.cache.browser.app.CacheBrowserContainer$1
info.magnolia.cache.browser.app.CacheBrowserContainer$2
info.magnolia.cache.browser.app.CacheBrowserContainer$3
info.magnolia.cache.browser.app.CacheBrowserContentConnector
info.magnolia.cache.browser.app.CacheBrowserContentConnector$1
info.magnolia.cache.browser.app.CacheBrowserContentConnectorDefinition
info.magnolia.cache.browser.app.CacheBrowserListPresenter
info.magnolia.cache.browser.app.CacheBrowserListPresenterDefinition
info.magnolia.cache.browser.app.CacheFormDialogPresenter
info.magnolia.cache.browser.app.CacheKeyItem
info.magnolia.cache.browser.app.action
info.magnolia.cache.browser.app.rule
info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.setup
com.cedarsoftware.util.io
com.fasterxml.jackson.databind
com.google.common.cache
com.vaadin.v7.data
com.vaadin.v7.data.util
info.magnolia.cache.browser.app.event
info.magnolia.cache.browser.rest
info.magnolia.cache.browser.rest.client
info.magnolia.cache.browser.rest.endpoint
info.magnolia.context
info.magnolia.event
info.magnolia.i18nsystem
info.magnolia.module.cache.app
info.magnolia.module.cache.cachekey
info.magnolia.objectfactory
info.magnolia.ui.api.app
info.magnolia.ui.api.availability
info.magnolia.ui.api.context
info.magnolia.ui.api.location
info.magnolia.ui.contentapp.browser
info.magnolia.ui.dialog.actionarea
info.magnolia.ui.dialog.formdialog
info.magnolia.ui.dialog.registry
info.magnolia.ui.form
info.magnolia.ui.vaadin.integration.contentconnector
info.magnolia.ui.vaadin.integration.jcr
info.magnolia.ui.vaadin.overlay
info.magnolia.ui.workbench.column.definition
info.magnolia.ui.workbench.container
info.magnolia.ui.workbench.definition
info.magnolia.ui.workbench.list
java.lang
java.lang.reflect
java.util
java.util.concurrent
javax.ws.rs
javax.ws.rs.core
org.apache.commons.beanutils
org.apache.commons.lang3
org.slf4j

info.magnolia.cache.browser.app.action

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 22 10.0% 100.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.cache.browser.app.action.AbstractMultiItemAction
info.magnolia.cache.browser.app.action.DeleteCacheEntryAction
info.magnolia.cache.browser.app.action.DeleteCacheEntryActionDefinition
info.magnolia.cache.browser.app.action.DownloadCacheContentAction
info.magnolia.cache.browser.app.action.DownloadCacheContentAction$1
info.magnolia.cache.browser.app.action.DownloadCacheContentActionDefinition
info.magnolia.cache.browser.app.action.LoginDialogAction
info.magnolia.cache.browser.app.action.LoginDialogActionDefinition
info.magnolia.cache.browser.app.action.RefreshCacheContainerAction
info.magnolia.cache.browser.app.action.RefreshCacheContainerActionDefinition
None com.cedarsoftware.util.io
com.fasterxml.jackson.databind
com.vaadin.server
com.vaadin.v7.data
info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest.client
info.magnolia.cache.browser.rest.endpoint
info.magnolia.event
info.magnolia.i18nsystem
info.magnolia.ui.api.action
info.magnolia.ui.api.context
info.magnolia.ui.api.event
info.magnolia.ui.form
info.magnolia.ui.vaadin.overlay
java.io
java.lang
java.util
java.util.zip
javax.ws.rs
javax.ws.rs.core
org.apache.commons.io
org.apache.commons.lang3

info.magnolia.cache.browser.app.event

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 50.0% 67.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.cache.browser.app.event.InitializeContainerAfterSuccessfulLoginEvent$Handler
info.magnolia.cache.browser.app.event.RefreshContainerEvent$Handler
info.magnolia.cache.browser.app.event.InitializeContainerAfterSuccessfulLoginEvent
info.magnolia.cache.browser.app.event.RefreshContainerEvent
info.magnolia.cache.browser.app
info.magnolia.event
java.lang

info.magnolia.cache.browser.app.rule

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.cache.browser.app.rule.IsCacheKeyRule
info.magnolia.cache.browser.app.rule.IsRootRule
None info.magnolia.cache.browser.app
info.magnolia.module.cache.cachekey
info.magnolia.ui.api.availability
java.lang

info.magnolia.cache.browser.rest

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 10 0.0% 91.0% 9.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.cache.browser.rest.CacheServiceFactory
info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest.client
info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.rest.filter
info.magnolia.cms.exchange
info.magnolia.resteasy.client
info.magnolia.resteasy.client.factory
java.lang
java.util
javax.inject
org.apache.commons.lang3

info.magnolia.cache.browser.rest.client

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 2 100.0% 40.0% 40.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.cache.browser.rest.client.CacheService
None info.magnolia.cache.browser.app
info.magnolia.cache.browser.app.action
info.magnolia.cache.browser.rest
com.fasterxml.jackson.databind
java.lang

info.magnolia.cache.browser.rest.endpoint

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 20 0.0% 87.0% 13.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.cache.browser.rest.endpoint.CacheEndpoint
info.magnolia.cache.browser.rest.endpoint.CacheEndpoint$1
info.magnolia.cache.browser.rest.endpoint.CacheEndpointDefinition
info.magnolia.cache.browser.rest.endpoint.WhitelistAwareClassLoader
info.magnolia.cache.browser.app
info.magnolia.cache.browser.app.action
info.magnolia.cache.browser.rest
com.cedarsoftware.util.io
com.fasterxml.jackson.databind.node
com.google.common.collect
info.magnolia.cache.browser
info.magnolia.cache.browser.app
info.magnolia.i18nsystem
info.magnolia.module.cache
info.magnolia.module.cache.cachekey
info.magnolia.module.cache.filter
info.magnolia.module.cache.inject
info.magnolia.objectfactory
info.magnolia.rest
info.magnolia.rest.registry
java.lang
java.lang.reflect
java.util
javax.ws.rs.core
org.apache.commons.beanutils
org.apache.commons.lang3
org.slf4j

info.magnolia.cache.browser.rest.filter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0.0% 83.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.cache.browser.rest.filter.AuthenticationClientRequestFilter
info.magnolia.cache.browser.rest
info.magnolia.cms.security.auth.login
java.io
java.lang
javax.ws.rs.client
javax.ws.rs.core

info.magnolia.cache.browser.setup

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 8 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.cache.browser.setup.CacheBrowserAppModuleVersionHandler
info.magnolia.cache.browser.setup.CacheBrowserAppModuleVersionHandler$PublishingOrActivationInstalledCondition
None info.magnolia.cache.browser.app
info.magnolia.module
info.magnolia.module.cache.app
info.magnolia.module.delta
info.magnolia.ui.api.app.registry
info.magnolia.ui.contentapp
java.lang
java.util

Cycles

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

Package Package Dependencies
info.magnolia.cache.browser.app info.magnolia.cache.browser.rest
info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.app
info.magnolia.cache.browser.app.action info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest
info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.app.rule info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest
info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest
info.magnolia.cache.browser.rest.endpoint info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest
info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.setup info.magnolia.cache.browser.app
info.magnolia.cache.browser.rest
info.magnolia.cache.browser.rest.endpoint
info.magnolia.cache.browser.app

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.