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.apache.commons.inject.api 22 12 10 3 13 45.0% 81.0% 27.000002% 1
org.apache.commons.inject.api.bind 9 1 8 3 6 89.0% 67.0% 56.0% 1
org.apache.commons.inject.impl 29 24 5 2 10 17.0% 83.0% 1.0% 1
org.apache.commons.inject.impl.bind 10 10 0 1 8 0.0% 89.0% 11.0% 1
org.apache.commons.inject.util 2 2 0 2 2 0.0% 50.0% 50.0% 1

Packages

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

org.apache.commons.inject.api

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 13 45.0% 81.0% 27.000002%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.inject.api.AbstractLoggerInjectingModule
org.apache.commons.inject.api.IBinding
org.apache.commons.inject.api.IInjector
org.apache.commons.inject.api.IInjectorBuilder
org.apache.commons.inject.api.IKey
org.apache.commons.inject.api.ILifecycleController
org.apache.commons.inject.api.ILifecycleListener
org.apache.commons.inject.api.IPoint
org.apache.commons.inject.api.IProvider
org.apache.commons.inject.api.InjLogger
org.apache.commons.inject.api.AbstractLoggerInjectingModule$1
org.apache.commons.inject.api.AbstractLoggerInjectingModule$1$1
org.apache.commons.inject.api.CommonsInject
org.apache.commons.inject.api.CommonsLoggingLoggerModule
org.apache.commons.inject.api.Key
org.apache.commons.inject.api.Log4j2LoggerModule
org.apache.commons.inject.api.Log4jLoggerModule
org.apache.commons.inject.api.NoSuchBindingException
org.apache.commons.inject.api.PostConstructModule
org.apache.commons.inject.api.PostConstructModule$1
org.apache.commons.inject.api.PostConstructModule$2
org.apache.commons.inject.api.Slf4JLoggerModule
org.apache.commons.inject.api.bind
org.apache.commons.inject.impl
org.apache.commons.inject.impl.bind
java.lang
java.lang.annotation
java.lang.reflect
java.util
javax.annotation
javax.inject
org.apache.commons.inject.api.bind
org.apache.commons.inject.impl
org.apache.commons.inject.util
org.apache.commons.logging
org.apache.log4j
org.apache.logging.log4j
org.slf4j

org.apache.commons.inject.api.bind

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 6 89.0% 67.0% 56.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.inject.api.bind.IAnnotatedBindingBuilder
org.apache.commons.inject.api.bind.IBinder
org.apache.commons.inject.api.bind.IBinder$IInjectionListener
org.apache.commons.inject.api.bind.IBinder$IInjectionParticipator
org.apache.commons.inject.api.bind.IBinder$IInjectorBuildListener
org.apache.commons.inject.api.bind.ILinkedBindingBuilder
org.apache.commons.inject.api.bind.IModule
org.apache.commons.inject.api.bind.IScopedBindingBuilder
org.apache.commons.inject.api.bind.Scopes
org.apache.commons.inject.api
org.apache.commons.inject.impl
org.apache.commons.inject.impl.bind
com.google.inject
java.lang
java.lang.annotation
java.lang.reflect
java.util
org.apache.commons.inject.api

org.apache.commons.inject.impl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 10 17.0% 83.0% 1.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.inject.impl.AbstractBaseProvider
org.apache.commons.inject.impl.AbstractInjector
org.apache.commons.inject.impl.AbstractScopedProvider
org.apache.commons.inject.impl.IInjectorAware
org.apache.commons.inject.impl.IMutableBindingSource
org.apache.commons.inject.impl.AbstractBindingSet
org.apache.commons.inject.impl.AbstractBindingSet$BindingAndKey
org.apache.commons.inject.impl.AbstractBindingSet$MappedKey
org.apache.commons.inject.impl.AbstractBindingSet$ReducedKey
org.apache.commons.inject.impl.BindingProxy
org.apache.commons.inject.impl.DefaultInjector
org.apache.commons.inject.impl.DefaultInjector$1
org.apache.commons.inject.impl.DefaultInjectorBuilder
org.apache.commons.inject.impl.DefaultInjectorBuilder$1
org.apache.commons.inject.impl.DefaultInjectorBuilder$2
org.apache.commons.inject.impl.DefaultInjectorBuilder$3
org.apache.commons.inject.impl.DefaultLifecycleController
org.apache.commons.inject.impl.DefaultProvider
org.apache.commons.inject.impl.FactoryMethodProvider
org.apache.commons.inject.impl.FieldPoint
org.apache.commons.inject.impl.ImmutableBindingSet
org.apache.commons.inject.impl.Introspector
org.apache.commons.inject.impl.Introspector$1
org.apache.commons.inject.impl.Introspector$1$1
org.apache.commons.inject.impl.Introspector$2
org.apache.commons.inject.impl.ListPoint
org.apache.commons.inject.impl.MethodPoint
org.apache.commons.inject.impl.MutableBindingSet
org.apache.commons.inject.impl.ResolvableBindingSet
org.apache.commons.inject.api
org.apache.commons.inject.impl.bind
java.io
java.lang
java.lang.annotation
java.lang.reflect
java.util
javax.inject
org.apache.commons.inject.api
org.apache.commons.inject.api.bind
org.apache.commons.inject.impl.bind
org.apache.commons.inject.util

org.apache.commons.inject.impl.bind

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 0.0% 89.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.inject.impl.bind.DefaultBinding
org.apache.commons.inject.impl.bind.DefaultBindingBuilder
org.apache.commons.inject.impl.bind.DefaultBindingBuilder$1
org.apache.commons.inject.impl.bind.DefaultBindingBuilder$2
org.apache.commons.inject.impl.bind.DefaultBindingBuilder$3
org.apache.commons.inject.impl.bind.DefaultBindingBuilder$4
org.apache.commons.inject.impl.bind.DefaultBindingBuilder$5
org.apache.commons.inject.impl.bind.EagerSingletonProvider
org.apache.commons.inject.impl.bind.LazySingletonProvider
org.apache.commons.inject.impl.bind.PerCallProvider
org.apache.commons.inject.impl
com.google.inject
java.lang
java.lang.annotation
java.lang.reflect
java.util
org.apache.commons.inject.api
org.apache.commons.inject.api.bind
org.apache.commons.inject.impl

org.apache.commons.inject.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 2 0.0% 50.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.inject.util.Exceptions
org.apache.commons.inject.util.Generics
org.apache.commons.inject.api
org.apache.commons.inject.impl
java.lang
java.lang.reflect

Cycles

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

Package Package Dependencies
org.apache.commons.inject.api org.apache.commons.inject.api.bind
org.apache.commons.inject.api
org.apache.commons.inject.api.bind org.apache.commons.inject.api
org.apache.commons.inject.api.bind
org.apache.commons.inject.impl org.apache.commons.inject.api
org.apache.commons.inject.api.bind
org.apache.commons.inject.api
org.apache.commons.inject.impl.bind org.apache.commons.inject.api
org.apache.commons.inject.api.bind
org.apache.commons.inject.api

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.