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.fastaop.advice 7 1 6 7 5 86.0% 42.0% 27.000002% 1
com.fastaop.advice.builder 6 0 6 2 3 100.0% 60.000004% 60.000004% 1
com.fastaop.advice.builder.impl 3 3 0 1 4 0.0% 80.0% 20.0% 1
com.fastaop.advice.matcher 8 6 2 3 4 25.0% 57.0% 18.0% 1
com.fastaop.aspectloader 4 4 0 4 8 0.0% 67.0% 33.0% 1
com.fastaop.aspectloader.discovery 5 3 2 1 9 40.0% 90.0% 30.000002% 1
com.fastaop.dispatcher 3 3 0 0 5 0.0% 100.0% 0.0% 1
com.fastaop.instrument 4 4 0 1 10 0.0% 91.0% 9.0% 1
com.fastaop.transform 7 7 0 1 7 0.0% 88.0% 12.0% 1
com.fastaop.transform.discovery 2 2 0 2 5 0.0% 71.0% 29.0% 1
com.fastaop.util 2 2 0 5 7 0.0% 58.0% 42.0% 1

Packages

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

com.fastaop.advice

Afferent Couplings Efferent Couplings Abstractness Instability Distance
7 5 86.0% 42.0% 27.000002%
Abstract Classes Concrete Classes Used by Packages Uses Packages
com.fastaop.advice.AbstractAdvice
com.fastaop.advice.Aspect
com.fastaop.advice.IAdvice
com.fastaop.advice.IAdwiceWithPointcutProvider
com.fastaop.advice.IPointcut
com.fastaop.advice.IPointcutProvider
com.fastaop.advice.Pointcut
com.fastaop.advice.builder
com.fastaop.advice.builder.impl
com.fastaop.aspectloader
com.fastaop.dispatcher
com.fastaop.instrument
com.fastaop.transform
com.fastaop.util
com.fastaop.advice.builder
com.fastaop.advice.builder.impl
com.fastaop.advice.matcher
java.lang
java.lang.annotation

com.fastaop.advice.builder

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 3 100.0% 60.000004% 60.000004%
Abstract Classes Concrete Classes Used by Packages Uses Packages
com.fastaop.advice.builder.IClassAnnotationBuilder
com.fastaop.advice.builder.IClassBuilder
com.fastaop.advice.builder.IMatcherProvider
com.fastaop.advice.builder.IMethodAnnotationBuilder
com.fastaop.advice.builder.IMethodBuilder
com.fastaop.advice.builder.IPointcutCompiler
None com.fastaop.advice
com.fastaop.advice.builder.impl
com.fastaop.advice
com.fastaop.advice.matcher
java.lang

com.fastaop.advice.builder.impl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 0.0% 80.0% 20.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.fastaop.advice.builder.impl.ClassAnnotationBuilder
com.fastaop.advice.builder.impl.MethodAnnotationBuilder
com.fastaop.advice.builder.impl.MethodBuilder
com.fastaop.advice
com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
java.lang

com.fastaop.advice.matcher

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 4 25.0% 57.0% 18.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
com.fastaop.advice.matcher.IMatcher
com.fastaop.advice.matcher.IdBuilder
com.fastaop.advice.matcher.And
com.fastaop.advice.matcher.AnnotationMatcher
com.fastaop.advice.matcher.ClassMatcher
com.fastaop.advice.matcher.MatcherHelper
com.fastaop.advice.matcher.MethodMatcher
com.fastaop.advice.matcher.Not
com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.builder.impl
com.fastaop.util
java.lang
java.security
java.util.regex

com.fastaop.aspectloader

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 8 0.0% 67.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.fastaop.aspectloader.AspectBuilder
com.fastaop.aspectloader.AspectJarFileScanner
com.fastaop.aspectloader.AspectLoader
com.fastaop.aspectloader.Filetype
com.fastaop.aspectloader.discovery
com.fastaop.dispatcher
com.fastaop.instrument
com.fastaop.util
com.fastaop.advice
com.fastaop.aspectloader.discovery
com.fastaop.util
java.io
java.lang
java.lang.reflect
java.net
java.util

com.fastaop.aspectloader.discovery

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 40.0% 90.0% 30.000002%
Abstract Classes Concrete Classes Used by Packages Uses Packages
com.fastaop.aspectloader.discovery.IScanner
com.fastaop.aspectloader.discovery.IScannerCallback
com.fastaop.aspectloader.discovery.AspectClassFinderVisitor
com.fastaop.aspectloader.discovery.AspectFinder
com.fastaop.aspectloader.discovery.JARScanner
com.fastaop.aspectloader
com.fastaop.aspectloader
com.fastaop.util
java.io
java.lang
java.util
java.util.jar
java.util.zip
org.objectweb.asm
org.objectweb.asm.commons

com.fastaop.dispatcher

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.fastaop.dispatcher.FastDispatcher
com.fastaop.dispatcher.FastDispatcher$1
com.fastaop.dispatcher.FastDispatcher$AdviceChain
None com.fastaop.advice
com.fastaop.aspectloader
java.lang
java.util
java.util.concurrent

com.fastaop.instrument

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 com.fastaop.instrument.FastAOPTransformer
com.fastaop.instrument.ParameterParser
com.fastaop.instrument.PluggableInstrumentor
com.fastaop.instrument.TransformationResult
com.fastaop.util
com.fastaop.advice
com.fastaop.aspectloader
com.fastaop.transform
com.fastaop.transform.discovery
java.io
java.lang
java.lang.instrument
java.security
java.util
org.objectweb.asm

com.fastaop.transform

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 0.0% 88.0% 12.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.fastaop.transform.AddBeforeAfterMixin
com.fastaop.transform.AddInterfaces
com.fastaop.transform.AfterMixin
com.fastaop.transform.AfterMixinWithFinally
com.fastaop.transform.BeforeMixin
com.fastaop.transform.SetableClassAdapter
com.fastaop.transform.Visibility
com.fastaop.instrument
com.fastaop.advice
com.fastaop.transform.discovery
com.fastaop.util
java.lang
java.util
org.objectweb.asm
org.objectweb.asm.commons

com.fastaop.transform.discovery

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 com.fastaop.transform.discovery.AnnotationFinder
com.fastaop.transform.discovery.MethodLevelAnnotationFinder
com.fastaop.instrument
com.fastaop.transform
com.fastaop.util
java.lang
java.util
org.objectweb.asm
org.objectweb.asm.commons

com.fastaop.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 7 0.0% 58.0% 42.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.fastaop.util.AOPClassLoader
com.fastaop.util.FastAopUtil
com.fastaop.advice.matcher
com.fastaop.aspectloader
com.fastaop.aspectloader.discovery
com.fastaop.transform
com.fastaop.transform.discovery
com.fastaop.advice
com.fastaop.aspectloader
com.fastaop.instrument
java.io
java.lang
java.net
java.util

Cycles

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

Package Package Dependencies
com.fastaop.advice com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.advice
com.fastaop.advice.builder com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.builder.impl com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.advice
com.fastaop.advice.matcher com.fastaop.util
com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.aspectloader com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.advice
com.fastaop.aspectloader.discovery com.fastaop.util
com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.dispatcher com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.advice
com.fastaop.instrument com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.advice
com.fastaop.transform com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.advice
com.fastaop.transform.discovery com.fastaop.util
com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util
com.fastaop.util com.fastaop.advice
com.fastaop.advice.builder
com.fastaop.advice.matcher
com.fastaop.util

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.