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
com.example 2 2 0 0 3 0.0% 100.0% 0.0% 1
com.example.dbunit 4 4 0 0 10 0.0% 100.0% 0.0% 1
com.example.documentation 2 2 0 0 6 0.0% 100.0% 0.0% 1
com.example.generics 3 3 0 0 7 0.0% 100.0% 0.0% 1
com.example.manyparameters 2 2 0 0 5 0.0% 100.0% 0.0% 1
com.example.parametertypes 3 3 0 0 5 0.0% 100.0% 0.0% 1
com.example.prestate 3 3 0 0 5 0.0% 100.0% 0.0% 1
com.example.privateclass 3 3 0 0 5 0.0% 100.0% 0.0% 1
com.example.refactoring 4 4 0 0 6 0.0% 100.0% 0.0% 1
com.example.returnvoid 3 3 0 0 5 0.0% 100.0% 0.0% 1
com.example.singelton 3 3 0 0 5 0.0% 100.0% 0.0% 1
com.example.staticclass 4 4 0 0 6 0.0% 100.0% 0.0% 1
com.example.stream 3 3 0 0 6 0.0% 100.0% 0.0% 1
com.example.test 1 1 0 0 1 0.0% 100.0% 0.0% 1
com.example.test.helpers 5 5 0 0 1 0.0% 100.0% 0.0% 1
com.example.testprogram 4 4 0 0 4 0.0% 100.0% 0.0% 1
com.example.throwing 7 7 0 0 6 0.0% 100.0% 0.0% 1
com.example.tr 3 3 0 0 3 0.0% 100.0% 0.0% 1
com.example.xstream 3 3 0 0 5 0.0% 100.0% 0.0% 1
com.seitenbau.testing.recorderexampleusage 4 4 0 0 10 0.0% 100.0% 0.0% 1

Packages

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

com.example

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 3 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.Qtest
com.example.Qtest$1
None com.thoughtworks.xstream
java.io
java.lang

com.example.dbunit

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.dbunit.DBUnitClass
com.example.dbunit.DBUnitClass_simpleDatabaseMethod_instrument
com.example.dbunit.DBUnitClass_simpleDatabaseMethod_run
com.example.dbunit.DBUnitclass_simpleDatabaseMethod_generateTests
None com.seitenbau.testing.addons.dbunit.connection
com.seitenbau.testing.addons.dbunit.generator
com.seitenbau.testing.addons.dbunit.listener
com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.shared.tracer.listener
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.io
java.lang

com.example.documentation

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.documentation.generateRecorder
com.example.documentation.generateTest
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.shared.tracer.listener
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang

com.example.generics

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 7 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.generics.GenericClass
com.example.generics.GenericClass_getAlist_instrument
com.example.generics.GenericClass_getAlist_testGenerator
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.shared.tracer
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang
java.util

com.example.manyparameters

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.manyparameters.ManyParaemters
com.example.manyparameters.ManyParametertes_instrument
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.shared.tracer
java.io
java.lang

com.example.parametertypes

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.parametertypes.ParameterClass
com.example.parametertypes.ParameterClass_anMethod_instrument
com.example.parametertypes.ParameterClass_anMethod_testGenerator
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang

com.example.prestate

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.prestate.PreStateAware
com.example.prestate.PreStateAware_instrument
com.example.prestate.PreStateAware_testGenerator
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang

com.example.privateclass

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.privateclass.PrivateClass
com.example.privateclass.PrivateClass_Instrument
com.example.privateclass.PrivateClass_testGenerator
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang

com.example.refactoring

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.refactoring.Refactoring
com.example.refactoring.Refactoring_instrument
com.example.refactoring.Refactoring_testGenerator
com.example.refactoring._orginal_Refactoring
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang
java.util

com.example.returnvoid

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.returnvoid.ReturnVoid
com.example.returnvoid.ReturnVoid_Instrument
com.example.returnvoid.ReturnVoid_testGenerator
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang

com.example.singelton

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.singelton.SingeltonClass
com.example.singelton.Singelton_testGenerator
com.example.singelton.singelton_instrument
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang

com.example.staticclass

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.staticclass.StaticClass
com.example.staticclass.StaticClass_simplePlusMethod_generateTests
com.example.staticclass.StaticClass_simplePlusMethod_instrument
com.example.staticclass.StaticClass_simplePlusMethod_run
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.io
java.lang

com.example.stream

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.stream.StreamClass
com.example.stream.StreamClass_instrumentation
com.example.stream.StreamClass_testGenerator
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.io
java.lang

com.example.test

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 1 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.test.AtrRecordTests
None java.lang

com.example.test.helpers

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 1 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.test.helpers.CombiTypes
com.example.test.helpers.ConstructorHelper
com.example.test.helpers.ParameterTypesComplex
com.example.test.helpers.ParameterTypesPrimitve
com.example.test.helpers.ReturnTypes
None java.lang

com.example.testprogram

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 com.example.testprogram.Main
com.example.testprogram.MathDialog
com.example.testprogram.MathDialog$1
com.example.testprogram.MathOperations
None java.awt
java.awt.event
java.lang
javax.swing

com.example.throwing

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.throwing.ThrowingClass
com.example.throwing.ThrowingClass_calculateStatic_generateTests
com.example.throwing.ThrowingClass_calculateStatic_instrument
com.example.throwing.ThrowingClass_calculateStatic_run
com.example.throwing.ThrowingClass_calculate_generateTests
com.example.throwing.ThrowingClass_calculate_instrument
com.example.throwing.ThrowingClass_calculate_run
None com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.shared.tracer
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.lang

com.example.tr

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 3 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.tr.ClassUnderTest
com.example.tr.Performance
com.example.tr.PerformanceAspect
None java.io
java.lang
org.aspectj.lang

com.example.xstream

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.example.xstream.XStreamSamples
com.example.xstream.XStreamSamples$AsMembers
com.example.xstream.XStreamSamples$sClass
None com.seitenbau.testing.service
com.seitenbau.testing.shared.model
com.thoughtworks.xstream
java.io
java.lang

com.seitenbau.testing.recorderexampleusage

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.seitenbau.testing.recorderexampleusage.ConfigurationBuilder
com.seitenbau.testing.recorderexampleusage.RunRecorderGenerator
com.seitenbau.testing.recorderexampleusage.RunRetrieve
com.seitenbau.testing.recorderexampleusage.RunTestGenerator
None com.seitenbau.testing.addons.dbunit.listener
com.seitenbau.testing.service
com.seitenbau.testing.shared.config
com.seitenbau.testing.shared.model
com.seitenbau.testing.shared.tracer.listener
com.seitenbau.testing.testgenerator.datadriven
com.seitenbau.testing.testgenerator.partgenerator.impl
java.io
java.lang
java.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.