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
org.springframework.osgi.extender 3 0 3 4 6 100.0% 60.000004% 60.000004% 1
org.springframework.osgi.extender.event 1 1 0 1 5 0.0% 83.0% 17.0% 1
org.springframework.osgi.extender.internal.activator 9 8 1 0 21 11.0% 100.0% 11.0% 1
org.springframework.osgi.extender.internal.dependencies.shutdown 3 2 1 1 7 33.0% 88.0% 21.0% 1
org.springframework.osgi.extender.internal.dependencies.startup 13 12 1 2 20 8.0% 91.0% 1.0% 1
org.springframework.osgi.extender.internal.support 7 7 0 1 25 0.0% 96.0% 4.0% 1
org.springframework.osgi.extender.internal.util.concurrent 5 4 1 2 5 20.0% 71.0% 9.0% 1
org.springframework.osgi.extender.support 4 3 1 2 11 25.0% 85.0% 10.0% 1
org.springframework.osgi.extender.support.internal 1 0 1 3 5 100.0% 62.0% 62.0% 1
org.springframework.osgi.extender.support.scanning 2 1 1 1 5 50.0% 83.0% 33.0% 1

Packages

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

org.springframework.osgi.extender

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 6 100.0% 60.000004% 60.000004%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.OsgiApplicationContextCreator
org.springframework.osgi.extender.OsgiBeanFactoryPostProcessor
org.springframework.osgi.extender.OsgiServiceDependencyFactory
None org.springframework.osgi.extender.internal.activator
org.springframework.osgi.extender.internal.dependencies.startup
org.springframework.osgi.extender.internal.support
org.springframework.osgi.extender.support
java.lang
java.util
org.osgi.framework
org.springframework.beans
org.springframework.beans.factory.config
org.springframework.osgi.context

org.springframework.osgi.extender.event

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 org.springframework.osgi.extender.event.BootstrappingDependencyEvent
org.springframework.osgi.extender.internal.dependencies.startup
org.osgi.framework
org.springframework.context
org.springframework.osgi.context.event
org.springframework.osgi.service.importer.event
org.springframework.util

org.springframework.osgi.extender.internal.activator

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 21 11.0% 100.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$BaseListener
org.springframework.osgi.extender.internal.activator.ContextLoaderListener
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$1
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$3
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$ContextBundleListener
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$NamespaceBundleLister
org.springframework.osgi.extender.internal.activator.ListListenerAdapter
org.springframework.osgi.extender.internal.activator.SpringTypeCompatibilityChecker
None java.lang
java.util
org.apache.commons.logging
org.osgi.framework
org.osgi.service.packageadmin
org.springframework.beans.factory
org.springframework.core
org.springframework.core.task
org.springframework.osgi.context
org.springframework.osgi.context.event
org.springframework.osgi.extender
org.springframework.osgi.extender.internal.dependencies.shutdown
org.springframework.osgi.extender.internal.dependencies.startup
org.springframework.osgi.extender.internal.support
org.springframework.osgi.extender.internal.util.concurrent
org.springframework.osgi.extender.support
org.springframework.osgi.extender.support.internal
org.springframework.osgi.io.internal.resolver
org.springframework.osgi.service.importer.support
org.springframework.osgi.util
org.springframework.util

org.springframework.osgi.extender.internal.dependencies.shutdown

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 33.0% 88.0% 21.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.internal.dependencies.shutdown.ServiceDependencySorter
org.springframework.osgi.extender.internal.dependencies.shutdown.BundleDependencyComparator
org.springframework.osgi.extender.internal.dependencies.shutdown.ComparatorServiceDependencySorter
org.springframework.osgi.extender.internal.activator
java.io
java.lang
java.util
org.apache.commons.logging
org.osgi.framework
org.springframework.osgi.util
org.springframework.util

org.springframework.osgi.extender.internal.dependencies.startup

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 20 8.0% 91.0% 1.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.internal.dependencies.startup.ContextExecutorStateAccessor
org.springframework.osgi.extender.internal.dependencies.startup.ContextState
org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager
org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager$1
org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager$DependencyServiceListener
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$1
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$2
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask
org.springframework.osgi.extender.internal.dependencies.startup.MandatoryImporterDependencyFactory
org.springframework.osgi.extender.internal.dependencies.startup.MandatoryServiceDependency
org.springframework.osgi.extender.internal.dependencies.startup.MandatoryServiceDependency$1
org.springframework.osgi.extender.internal.activator
org.springframework.osgi.extender.internal.support
java.lang
java.util
org.apache.commons.logging
org.osgi.framework
org.springframework.beans
org.springframework.beans.factory
org.springframework.beans.factory.config
org.springframework.context
org.springframework.core.enums
org.springframework.core.task
org.springframework.osgi.context
org.springframework.osgi.context.event
org.springframework.osgi.extender
org.springframework.osgi.extender.event
org.springframework.osgi.extender.internal.util.concurrent
org.springframework.osgi.service.importer
org.springframework.osgi.service.importer.event
org.springframework.osgi.service.importer.support
org.springframework.osgi.util
org.springframework.util

org.springframework.osgi.extender.internal.support

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 25 0.0% 96.0% 4.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.springframework.osgi.extender.internal.support.ExtenderConfiguration
org.springframework.osgi.extender.internal.support.NamespaceManager
org.springframework.osgi.extender.internal.support.NamespacePlugins
org.springframework.osgi.extender.internal.support.NamespacePlugins$1
org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin
org.springframework.osgi.extender.internal.support.OsgiAnnotationPostProcessor
org.springframework.osgi.extender.internal.support.OsgiBeanFactoryPostProcessorAdapter
org.springframework.osgi.extender.internal.activator
java.io
java.lang
java.lang.reflect
java.net
java.util
org.apache.commons.logging
org.osgi.framework
org.springframework.beans
org.springframework.beans.factory
org.springframework.beans.factory.config
org.springframework.beans.factory.xml
org.springframework.context.event
org.springframework.core
org.springframework.core.task
org.springframework.osgi
org.springframework.osgi.context
org.springframework.osgi.context.event
org.springframework.osgi.context.support
org.springframework.osgi.extender
org.springframework.osgi.extender.internal.dependencies.startup
org.springframework.osgi.extender.support
org.springframework.osgi.util
org.springframework.scheduling.timer
org.springframework.util
org.xml.sax

org.springframework.osgi.extender.internal.util.concurrent

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 20.0% 71.0% 9.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution
org.springframework.osgi.extender.internal.util.concurrent.Counter
org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$1
org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable
org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$SimpleTaskExecutor
org.springframework.osgi.extender.internal.activator
org.springframework.osgi.extender.internal.dependencies.startup
java.lang
org.apache.commons.logging
org.springframework.beans.factory
org.springframework.core.task
org.springframework.util

org.springframework.osgi.extender.support

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 11 25.0% 85.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.support.ConditionalApplicationContextCreator$BundleContextFilter
org.springframework.osgi.extender.support.ApplicationContextConfiguration
org.springframework.osgi.extender.support.ConditionalApplicationContextCreator
org.springframework.osgi.extender.support.DefaultOsgiApplicationContextCreator
org.springframework.osgi.extender.internal.activator
org.springframework.osgi.extender.internal.support
java.lang
org.apache.commons.logging
org.osgi.framework
org.springframework.beans.factory
org.springframework.osgi.context
org.springframework.osgi.context.support
org.springframework.osgi.extender
org.springframework.osgi.extender.support.internal
org.springframework.osgi.extender.support.scanning
org.springframework.osgi.util
org.springframework.util

org.springframework.osgi.extender.support.internal

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 5 100.0% 62.0% 62.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.support.internal.ConfigUtils
None org.springframework.osgi.extender.internal.activator
org.springframework.osgi.extender.support
org.springframework.osgi.extender.support.scanning
java.lang
java.util
org.apache.commons.logging
org.osgi.framework
org.springframework.util

org.springframework.osgi.extender.support.scanning

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 50.0% 83.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.extender.support.scanning.ConfigurationScanner
org.springframework.osgi.extender.support.scanning.DefaultConfigurationScanner
org.springframework.osgi.extender.support
java.lang
java.util
org.osgi.framework
org.springframework.osgi.extender.support.internal
org.springframework.util

Cycles

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

There are no cyclic dependencies.

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.