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 ]

PackageTCCCACCaCeAIDV
org.nnsoft.guice.junice65101917.0%100.0%17.0%1
org.nnsoft.guice.junice.annotation8355262.0%29.0%9.0%1
org.nnsoft.guice.junice.handler87111012.0%91.0%3.0%1
org.nnsoft.guice.junice.mock20232100.0%40.0%40.0%1
org.nnsoft.guice.junice.mock.framework3211533.0%83.0%17.0%1
org.nnsoft.guice.junice.mock.guice3211633.0%86.0%19.0%1
org.nnsoft.guice.junice.reflection7252671.0%75.0%46.0%1

Packages

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

org.nnsoft.guice.junice

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
01917.0%100.0%17.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.nnsoft.guice.junice.package-info
org.nnsoft.guice.junice.GuiceMockModule
org.nnsoft.guice.junice.JUniceRunner
org.nnsoft.guice.junice.JUniceRunner$1
org.nnsoft.guice.junice.JUniceRunner$2
org.nnsoft.guice.junice.MockEngineFactory
Nonecom.google.common.collect
com.google.inject
com.google.inject.binder
com.google.inject.matcher
com.google.inject.name
com.google.inject.util
java.lang
java.lang.reflect
java.util
org.apache.commons.logging
org.junit.runner.notification
org.junit.runners
org.junit.runners.model
org.nnsoft.guice.junice.annotation
org.nnsoft.guice.junice.handler
org.nnsoft.guice.junice.mock
org.nnsoft.guice.junice.mock.framework
org.nnsoft.guice.junice.mock.guice
org.nnsoft.guice.junice.reflection

org.nnsoft.guice.junice.annotation

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
5262.0%29.0%9.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.nnsoft.guice.junice.annotation.GuiceModules
org.nnsoft.guice.junice.annotation.GuiceProvidedModules
org.nnsoft.guice.junice.annotation.Mock
org.nnsoft.guice.junice.annotation.MockFramework
org.nnsoft.guice.junice.annotation.package-info
org.nnsoft.guice.junice.annotation.Mock$NoAnnotation
org.nnsoft.guice.junice.annotation.MockObjType
org.nnsoft.guice.junice.annotation.MockType
org.nnsoft.guice.junice
org.nnsoft.guice.junice.handler
org.nnsoft.guice.junice.mock
org.nnsoft.guice.junice.mock.framework
org.nnsoft.guice.junice.mock.guice
java.lang
java.lang.annotation

org.nnsoft.guice.junice.handler

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
11012.0%91.0%3.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.nnsoft.guice.junice.handler.package-info
org.nnsoft.guice.junice.handler.GuiceInjectableClassHandler
org.nnsoft.guice.junice.handler.GuiceModuleHandler
org.nnsoft.guice.junice.handler.GuiceProvidedModuleHandler
org.nnsoft.guice.junice.handler.GuiceProvidedModuleHandler$1
org.nnsoft.guice.junice.handler.GuiceProvidedModuleHandler$2
org.nnsoft.guice.junice.handler.MockFrameworkHandler
org.nnsoft.guice.junice.handler.MockHandler
org.nnsoft.guice.junice
com.google.inject
com.google.inject.internal
java.lang
java.lang.annotation
java.lang.reflect
java.util
org.apache.commons.logging
org.nnsoft.guice.junice.annotation
org.nnsoft.guice.junice.mock
org.nnsoft.guice.junice.reflection

org.nnsoft.guice.junice.mock

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
32100.0%40.0%40.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.nnsoft.guice.junice.mock.MockEngine
org.nnsoft.guice.junice.mock.package-info
Noneorg.nnsoft.guice.junice
org.nnsoft.guice.junice.handler
org.nnsoft.guice.junice.mock.framework
java.lang
org.nnsoft.guice.junice.annotation

org.nnsoft.guice.junice.mock.framework

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
1533.0%83.0%17.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.nnsoft.guice.junice.mock.framework.package-info
org.nnsoft.guice.junice.mock.framework.EasyMockFramework
org.nnsoft.guice.junice.mock.framework.MockitoFramework
org.nnsoft.guice.junice
java.lang
org.easymock.classextension
org.mockito
org.nnsoft.guice.junice.annotation
org.nnsoft.guice.junice.mock

org.nnsoft.guice.junice.mock.guice

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
1633.0%86.0%19.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.nnsoft.guice.junice.mock.guice.package-info
org.nnsoft.guice.junice.mock.guice.MockMembersInjector
org.nnsoft.guice.junice.mock.guice.MockTypeListener
org.nnsoft.guice.junice
com.google.inject
com.google.inject.spi
java.lang
java.lang.reflect
java.util
org.nnsoft.guice.junice.annotation

org.nnsoft.guice.junice.reflection

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
2671.0%75.0%46.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.nnsoft.guice.junice.reflection.AnnotationHandler
org.nnsoft.guice.junice.reflection.ClassHandler
org.nnsoft.guice.junice.reflection.FieldHandler
org.nnsoft.guice.junice.reflection.MethodHandler
org.nnsoft.guice.junice.reflection.package-info
org.nnsoft.guice.junice.reflection.ClassVisitor
org.nnsoft.guice.junice.reflection.HandleException
org.nnsoft.guice.junice
org.nnsoft.guice.junice.handler
com.google.common.collect
java.lang
java.lang.annotation
java.lang.reflect
java.util
org.apache.commons.logging

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.

TermDescription
Number of ClassesThe number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.
Afferent CouplingsThe number of other packages that depend upon classes within the package is an indicator of the package's responsibility.
Efferent CouplingsThe number of other packages that the classes in the package depend upon is an indicator of the package's independence.
AbstractnessThe 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.
InstabilityThe 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.
DistanceThe 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.
CyclesPackages 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.