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.jadira.scanner 3 2 1 0 10 33.0% 100.0% 33.0% 1
org.jadira.scanner.classfile 3 3 0 2 13 0.0% 87.0% 13.0% 1
org.jadira.scanner.classfile.filter 3 3 0 2 5 0.0% 71.0% 29.0% 1
org.jadira.scanner.classpath 4 4 0 2 15 0.0% 88.0% 12.0% 1
org.jadira.scanner.classpath.api 2 1 1 1 4 50.0% 80.0% 30.000002% 1
org.jadira.scanner.classpath.filter 7 7 0 2 5 0.0% 71.0% 29.0% 1
org.jadira.scanner.classpath.projector 4 4 0 3 9 0.0% 75.0% 25.0% 1
org.jadira.scanner.classpath.types 17 13 4 5 16 24.0% 76.0% 0.0% 1
org.jadira.scanner.classpath.visitor 2 1 1 1 4 50.0% 80.0% 30.000002% 1
org.jadira.scanner.core.api 5 0 5 12 2 100.0% 14.0% 14.0% 1
org.jadira.scanner.core.exception 2 2 0 7 1 0.0% 12.0% 88.0% 1
org.jadira.scanner.core.filter 1 0 1 3 4 100.0% 57.0% 57.0% 1
org.jadira.scanner.core.helper 6 4 2 5 10 33.0% 67.0% 0.0% 1
org.jadira.scanner.core.helper.filenamefilter 3 3 0 3 4 0.0% 57.0% 43.0% 1
org.jadira.scanner.core.spi 4 2 2 4 8 50.0% 67.0% 17.0% 1
org.jadira.scanner.core.utils.lang 2 2 0 1 2 0.0% 67.0% 33.0% 1
org.jadira.scanner.core.utils.reflection 1 1 0 4 1 0.0% 20.0% 80.0% 1
org.jadira.scanner.file 2 2 0 0 6 0.0% 100.0% 0.0% 1
org.jadira.scanner.file.locator 7 7 0 3 10 0.0% 77.0% 23.0% 1
org.jadira.scanner.file.projector 1 1 0 0 7 0.0% 100.0% 0.0% 1

Packages

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

org.jadira.scanner

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 33.0% 100.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.Configuration
org.jadira.scanner.ConfigurationBuilder
org.jadira.scanner.Scanner
None java.lang
java.net
java.util
org.jadira.scanner.classpath
org.jadira.scanner.classpath.filter
org.jadira.scanner.classpath.projector
org.jadira.scanner.classpath.types
org.jadira.scanner.core.api
org.jadira.scanner.core.exception
org.jadira.scanner.core.utils.reflection

org.jadira.scanner.classfile

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 13 0.0% 87.0% 13.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.classfile.ClassFileResolver
org.jadira.scanner.classfile.ClassFileResolver$1
org.jadira.scanner.classfile.ClassFileResolver$ClassFileAssigner
org.jadira.scanner.classpath
org.jadira.scanner.classpath.types
de.schlichtherle.io
java.io
java.lang
java.util
javassist.bytecode
org.apache.commons.lang3.builder
org.jadira.scanner.classfile.filter
org.jadira.scanner.classpath.projector
org.jadira.scanner.core.api
org.jadira.scanner.core.helper
org.jadira.scanner.core.spi
org.jadira.scanner.core.utils.reflection
org.jadira.scanner.file.locator

org.jadira.scanner.classfile.filter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 0.0% 71.0% 29.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.classfile.filter.ClassFileFilter
org.jadira.scanner.classfile.filter.NameFilter
org.jadira.scanner.classfile.filter.PackageFileFilter
org.jadira.scanner.classfile
org.jadira.scanner.classpath.types
java.io
java.lang
javassist.bytecode
org.jadira.scanner.core.api
org.jadira.scanner.core.filter

org.jadira.scanner.classpath

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 15 0.0% 88.0% 12.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.classpath.ClasspathResolver
org.jadira.scanner.classpath.ClasspathResolver$1
org.jadira.scanner.classpath.ClasspathResolver$ClasspathAssigner
org.jadira.scanner.classpath.ClasspathResolver$ClasspathAssigner$1
org.jadira.scanner
org.jadira.scanner.classpath.types
de.schlichtherle.io
java.io
java.lang
java.util
javassist.bytecode
org.apache.commons.lang3.builder
org.jadira.scanner.classfile
org.jadira.scanner.classpath.types
org.jadira.scanner.core.api
org.jadira.scanner.core.exception
org.jadira.scanner.core.helper
org.jadira.scanner.core.helper.filenamefilter
org.jadira.scanner.core.spi
org.jadira.scanner.core.utils.reflection
org.jadira.scanner.file.locator

org.jadira.scanner.classpath.api

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 50.0% 80.0% 30.000002%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.classpath.api.JElementFilter
org.jadira.scanner.classpath.api.JClassFilter
org.jadira.scanner.classpath.filter
java.lang
org.jadira.scanner.classpath.types
org.jadira.scanner.core.api
org.jadira.scanner.core.filter

org.jadira.scanner.classpath.filter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 0.0% 71.0% 29.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.classpath.filter.JClassImplementsFilter
org.jadira.scanner.classpath.filter.JElementTypeFilter
org.jadira.scanner.classpath.filter.JTypeAnnotatedWithFilter
org.jadira.scanner.classpath.filter.JTypeSubTypeOfFilter
org.jadira.scanner.classpath.filter.NameFilter
org.jadira.scanner.classpath.filter.PackageFilter
org.jadira.scanner.classpath.filter.PackagePrefixFilter
org.jadira.scanner
org.jadira.scanner.classpath.types
java.lang
java.util
org.jadira.scanner.classpath.api
org.jadira.scanner.classpath.types
org.jadira.scanner.core.filter

org.jadira.scanner.classpath.projector

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 9 0.0% 75.0% 25.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.classpath.projector.ClasspathProjector
org.jadira.scanner.classpath.projector.ClasspathProjector$1
org.jadira.scanner.classpath.projector.ClasspathProjector$2
org.jadira.scanner.classpath.projector.ClasspathProjector$3
org.jadira.scanner
org.jadira.scanner.classfile
org.jadira.scanner.classpath.types
de.schlichtherle.io
de.schlichtherle.io.archive.zip
de.schlichtherle.util.zip
java.io
java.lang
java.util
java.util.jar
org.jadira.scanner.core.api
org.jadira.scanner.core.exception

org.jadira.scanner.classpath.types

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 16 24.0% 76.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.classpath.types.JElement
org.jadira.scanner.classpath.types.JOperation
org.jadira.scanner.classpath.types.JType
org.jadira.scanner.classpath.types.JVariable
org.jadira.scanner.classpath.types.JAnnotation
org.jadira.scanner.classpath.types.JArrayClass
org.jadira.scanner.classpath.types.JClass
org.jadira.scanner.classpath.types.JConstructor
org.jadira.scanner.classpath.types.JDefaultConstructor
org.jadira.scanner.classpath.types.JField
org.jadira.scanner.classpath.types.JInnerClass
org.jadira.scanner.classpath.types.JInterface
org.jadira.scanner.classpath.types.JMethod
org.jadira.scanner.classpath.types.JPackage
org.jadira.scanner.classpath.types.JParameter
org.jadira.scanner.classpath.types.JPrimitiveClass
org.jadira.scanner.classpath.types.JStaticInitializer
org.jadira.scanner
org.jadira.scanner.classpath
org.jadira.scanner.classpath.api
org.jadira.scanner.classpath.filter
org.jadira.scanner.classpath.visitor
java.lang
java.lang.annotation
java.lang.reflect
java.util
javassist.bytecode
javassist.bytecode.annotation
org.apache.commons.lang3.builder
org.jadira.scanner.classfile
org.jadira.scanner.classfile.filter
org.jadira.scanner.classpath
org.jadira.scanner.classpath.filter
org.jadira.scanner.classpath.projector
org.jadira.scanner.classpath.visitor
org.jadira.scanner.core.api
org.jadira.scanner.core.exception
org.jadira.scanner.core.helper

org.jadira.scanner.classpath.visitor

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 50.0% 80.0% 30.000002%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.classpath.visitor.IntrospectionVisitor
org.jadira.scanner.classpath.visitor.CollectingVisitor
org.jadira.scanner.classpath.types
java.lang
java.util
org.apache.commons.collections15.set
org.jadira.scanner.classpath.types

org.jadira.scanner.core.api

Afferent Couplings Efferent Couplings Abstractness Instability Distance
12 2 100.0% 14.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.core.api.Allocator
org.jadira.scanner.core.api.Filter
org.jadira.scanner.core.api.Locator
org.jadira.scanner.core.api.Projector
org.jadira.scanner.core.api.Resolver
None org.jadira.scanner
org.jadira.scanner.classfile
org.jadira.scanner.classfile.filter
org.jadira.scanner.classpath
org.jadira.scanner.classpath.api
org.jadira.scanner.classpath.projector
org.jadira.scanner.classpath.types
org.jadira.scanner.core.filter
org.jadira.scanner.core.spi
org.jadira.scanner.file
org.jadira.scanner.file.locator
org.jadira.scanner.file.projector
java.lang
java.util

org.jadira.scanner.core.exception

Afferent Couplings Efferent Couplings Abstractness Instability Distance
7 1 0.0% 12.0% 88.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.core.exception.ClasspathAccessException
org.jadira.scanner.core.exception.FileAccessException
org.jadira.scanner
org.jadira.scanner.classpath
org.jadira.scanner.classpath.projector
org.jadira.scanner.classpath.types
org.jadira.scanner.core.helper
org.jadira.scanner.file.locator
org.jadira.scanner.file.projector
java.lang

org.jadira.scanner.core.filter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 4 100.0% 57.0% 57.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.core.filter.AbstractFilter
None org.jadira.scanner.classfile.filter
org.jadira.scanner.classpath.api
org.jadira.scanner.classpath.filter
java.lang
java.util
org.jadira.scanner.core.api
org.jadira.scanner.core.spi

org.jadira.scanner.core.helper

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 10 33.0% 67.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.core.helper.FileInputStreamOperation
org.jadira.scanner.core.helper.InputStreamOperation
org.jadira.scanner.core.helper.FileUtils
org.jadira.scanner.core.helper.JavassistAnnotationsHelper
org.jadira.scanner.core.helper.JavassistClassFileHelper
org.jadira.scanner.core.helper.JavassistMethodInfoHelper
org.jadira.scanner.classfile
org.jadira.scanner.classpath
org.jadira.scanner.classpath.types
org.jadira.scanner.core.spi
org.jadira.scanner.file.projector
de.schlichtherle.io
java.io
java.lang
java.lang.annotation
java.net
java.util
javassist
javassist.bytecode
javassist.bytecode.annotation
org.jadira.scanner.core.exception

org.jadira.scanner.core.helper.filenamefilter

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.jadira.scanner.core.helper.filenamefilter.AntPathFilter
org.jadira.scanner.core.helper.filenamefilter.ClassFilenameFilter
org.jadira.scanner.core.helper.filenamefilter.JarFilenameFilter
org.jadira.scanner.classpath
org.jadira.scanner.file.locator
org.jadira.scanner.file.projector
java.io
java.lang
java.util.regex
org.apache.commons.lang3

org.jadira.scanner.core.spi

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 8 50.0% 67.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.jadira.scanner.core.spi.AbstractFileResolver
org.jadira.scanner.core.spi.AbstractResolver
org.jadira.scanner.core.spi.AbstractFileResolver$1
org.jadira.scanner.core.spi.TypeHelper
org.jadira.scanner.classfile
org.jadira.scanner.classpath
org.jadira.scanner.core.filter
org.jadira.scanner.file
java.io
java.lang
java.lang.reflect
java.net
java.util
org.jadira.scanner.core.api
org.jadira.scanner.core.concurrent
org.jadira.scanner.core.helper

org.jadira.scanner.core.utils.lang

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 0.0% 67.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.core.utils.lang.IterableEnumeration
org.jadira.scanner.core.utils.lang.IterableEnumeration$1
org.jadira.scanner.file.locator
java.lang
java.util

org.jadira.scanner.core.utils.reflection

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 1 0.0% 20.0% 80.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.core.utils.reflection.ClassLoaderUtils
org.jadira.scanner
org.jadira.scanner.classfile
org.jadira.scanner.classpath
org.jadira.scanner.file.locator
java.lang

org.jadira.scanner.file

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 org.jadira.scanner.file.ClasspathFileResolver
org.jadira.scanner.file.ClasspathFileResolver$1
None java.io
java.lang
java.util
org.jadira.scanner.core.api
org.jadira.scanner.core.spi
org.jadira.scanner.file.locator

org.jadira.scanner.file.locator

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 10 0.0% 77.0% 23.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.jadira.scanner.file.locator.ContainedClassClasspathUrlLocator
org.jadira.scanner.file.locator.IdentityUrlLocator
org.jadira.scanner.file.locator.JavaClasspathUrlLocator
org.jadira.scanner.file.locator.JdkBaseClasspathUrlLocator
org.jadira.scanner.file.locator.MarkerFileClasspathUrlLocator
org.jadira.scanner.file.locator.PackagesClasspathUrlLocator
org.jadira.scanner.file.locator.WebappClasspathUrlLocator
org.jadira.scanner.classfile
org.jadira.scanner.classpath
org.jadira.scanner.file
java.io
java.lang
java.net
java.util
javax.servlet
org.jadira.scanner.core.api
org.jadira.scanner.core.exception
org.jadira.scanner.core.helper.filenamefilter
org.jadira.scanner.core.utils.lang
org.jadira.scanner.core.utils.reflection

org.jadira.scanner.file.projector

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 org.jadira.scanner.file.projector.AntPathProjector
None java.io
java.lang
java.util
org.jadira.scanner.core.api
org.jadira.scanner.core.exception
org.jadira.scanner.core.helper
org.jadira.scanner.core.helper.filenamefilter

Cycles

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

Package Package Dependencies
org.jadira.scanner org.jadira.scanner.classpath.filter
org.jadira.scanner.classpath.types
org.jadira.scanner.classpath
org.jadira.scanner.classpath.types
org.jadira.scanner.classpath org.jadira.scanner.classpath.types
org.jadira.scanner.classpath
org.jadira.scanner.classpath.api org.jadira.scanner.classpath.types
org.jadira.scanner.classpath
org.jadira.scanner.classpath.types
org.jadira.scanner.classpath.filter org.jadira.scanner.classpath.types
org.jadira.scanner.classpath
org.jadira.scanner.classpath.types
org.jadira.scanner.classpath.types org.jadira.scanner.classpath
org.jadira.scanner.classpath.types
org.jadira.scanner.classpath.visitor org.jadira.scanner.classpath.types
org.jadira.scanner.classpath
org.jadira.scanner.classpath.types

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.