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.test 13 6 7 0 32 54.000004% 100.0% 54.000004% 1
org.springframework.osgi.test.internal 2 0 2 2 3 100.0% 60.000004% 60.000004% 1
org.springframework.osgi.test.internal.holder 3 3 0 3 4 0.0% 57.0% 43.0% 1
org.springframework.osgi.test.internal.support 4 4 0 1 10 0.0% 91.0% 9.0% 1
org.springframework.osgi.test.internal.util 5 1 4 3 9 80.0% 75.0% 55.0% 1
org.springframework.osgi.test.internal.util.jar 3 1 2 1 11 67.0% 92.0% 58.0% 1
org.springframework.osgi.test.internal.util.jar.storage 3 2 1 1 3 33.0% 75.0% 8.0% 1
org.springframework.osgi.test.platform 7 4 3 1 13 43.0% 93.0% 36.0% 1
org.springframework.osgi.test.provisioning 1 0 1 2 2 100.0% 50.0% 50.0% 1
org.springframework.osgi.test.provisioning.internal 3 3 0 1 10 0.0% 91.0% 9.0% 1

Packages

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

org.springframework.osgi.test

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 32 54.000004% 100.0% 54.000004%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
org.springframework.osgi.test.AbstractConfigurableOsgiTests
org.springframework.osgi.test.AbstractDependencyManagerTests
org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests
org.springframework.osgi.test.AbstractOsgiTests
org.springframework.osgi.test.AbstractSynchronizedOsgiTests
org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests$1
org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests$EmptyOsgiApplicationContext
org.springframework.osgi.test.AbstractOsgiTests$1
org.springframework.osgi.test.AbstractOsgiTests$2
org.springframework.osgi.test.AbstractSynchronizedOsgiTests$1
org.springframework.osgi.test.JUnitTestActivator
None java.io
java.lang
java.lang.reflect
java.net
java.util
java.util.jar
junit.framework
org.apache.commons.logging
org.objectweb.asm
org.osgi.framework
org.springframework.beans
org.springframework.beans.factory
org.springframework.beans.factory.support
org.springframework.context
org.springframework.core
org.springframework.core.io
org.springframework.osgi.context
org.springframework.osgi.context.support
org.springframework.osgi.extender.internal.util.concurrent
org.springframework.osgi.extender.support.internal
org.springframework.osgi.io
org.springframework.osgi.test.internal
org.springframework.osgi.test.internal.holder
org.springframework.osgi.test.internal.support
org.springframework.osgi.test.internal.util
org.springframework.osgi.test.internal.util.jar
org.springframework.osgi.test.platform
org.springframework.osgi.test.provisioning
org.springframework.osgi.test.provisioning.internal
org.springframework.osgi.util
org.springframework.test
org.springframework.util

org.springframework.osgi.test.internal

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 3 100.0% 60.000004% 60.000004%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.test.internal.OsgiJUnitTest
org.springframework.osgi.test.internal.TestRunnerService
None org.springframework.osgi.test
org.springframework.osgi.test.internal.support
java.lang
junit.framework
org.osgi.framework

org.springframework.osgi.test.internal.holder

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 4 0.0% 57.0% 43.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.springframework.osgi.test.internal.holder.HolderLoader
org.springframework.osgi.test.internal.holder.OsgiTestInfoHolder
org.springframework.osgi.test.internal.holder.ReflectionOsgiHolder
org.springframework.osgi.test
org.springframework.osgi.test.internal.support
org.springframework.osgi.test.internal.util
java.lang
java.lang.reflect
java.util
org.springframework.util

org.springframework.osgi.test.internal.support

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 org.springframework.osgi.test.internal.support.Activator
org.springframework.osgi.test.internal.support.OsgiJUnitService
org.springframework.osgi.test.internal.support.OsgiJUnitService$1
org.springframework.osgi.test.internal.support.OsgiJUnitTestAdapter
org.springframework.osgi.test
java.lang
java.lang.reflect
java.util
junit.framework
org.apache.commons.logging
org.osgi.framework
org.springframework.osgi.test.internal
org.springframework.osgi.test.internal.holder
org.springframework.osgi.test.internal.util
org.springframework.util

org.springframework.osgi.test.internal.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 9 80.0% 75.0% 55.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.test.internal.util.IOUtils
org.springframework.osgi.test.internal.util.IOUtils$IOCallback
org.springframework.osgi.test.internal.util.PropertiesUtil
org.springframework.osgi.test.internal.util.TestUtils
org.springframework.osgi.test.internal.util.DependencyVisitor
org.springframework.osgi.test
org.springframework.osgi.test.internal.support
org.springframework.osgi.test.platform
java.io
java.lang
java.util
junit.framework
org.objectweb.asm
org.objectweb.asm.signature
org.springframework.core.io
org.springframework.osgi.test.internal.holder
org.springframework.util

org.springframework.osgi.test.internal.util.jar

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 67.0% 92.0% 58.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.test.internal.util.jar.JarUtils
org.springframework.osgi.test.internal.util.jar.ManifestUtils
org.springframework.osgi.test.internal.util.jar.JarCreator
org.springframework.osgi.test
java.io
java.lang
java.net
java.util
java.util.jar
java.util.zip
org.apache.commons.logging
org.springframework.core.io
org.springframework.core.io.support
org.springframework.osgi.test.internal.util.jar.storage
org.springframework.util

org.springframework.osgi.test.internal.util.jar.storage

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 33.0% 75.0% 8.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.test.internal.util.jar.storage.Storage
org.springframework.osgi.test.internal.util.jar.storage.FileSystemStorage
org.springframework.osgi.test.internal.util.jar.storage.MemoryStorage
org.springframework.osgi.test.internal.util.jar
java.io
java.lang
org.springframework.core.io

org.springframework.osgi.test.platform

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 13 43.0% 93.0% 36.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.test.platform.AbstractOsgiPlatform
org.springframework.osgi.test.platform.OsgiPlatform
org.springframework.osgi.test.platform.Platforms
org.springframework.osgi.test.platform.EquinoxPlatform
org.springframework.osgi.test.platform.EquinoxPlatform$1
org.springframework.osgi.test.platform.FelixPlatform
org.springframework.osgi.test.platform.KnopflerfishPlatform
org.springframework.osgi.test
java.io
java.lang
java.lang.reflect
java.security
java.util
org.apache.commons.logging
org.apache.felix.framework
org.apache.felix.main
org.eclipse.core.runtime.adaptor
org.knopflerfish.framework
org.osgi.framework
org.springframework.osgi.test.internal.util
org.springframework.util

org.springframework.osgi.test.provisioning

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 2 100.0% 50.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.springframework.osgi.test.provisioning.ArtifactLocator
None org.springframework.osgi.test
org.springframework.osgi.test.provisioning.internal
java.lang
org.springframework.core.io

org.springframework.osgi.test.provisioning.internal

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 org.springframework.osgi.test.provisioning.internal.LocalFileSystemMavenRepository
org.springframework.osgi.test.provisioning.internal.MavenPackagedArtifactFinder
org.springframework.osgi.test.provisioning.internal.MavenPackagedArtifactFinder$1
org.springframework.osgi.test
java.io
java.lang
javax.xml.parsers
org.apache.commons.logging
org.springframework.beans.factory.xml
org.springframework.core.io
org.springframework.osgi.test.provisioning
org.springframework.util.xml
org.w3c.dom
org.xml.sax

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.