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.apache.commons.flatfile 35 24 11 3 11 31.0% 79.0% 10.0% 1
org.apache.commons.flatfile.dsl 12 9 3 0 11 25.0% 100.0% 25.0% 1
org.apache.commons.flatfile.entityfactory 2 2 0 0 3 0.0% 100.0% 0.0% 1
org.apache.commons.flatfile.morph 17 15 2 1 12 12.0% 92.0% 4.0% 1
org.apache.commons.flatfile.util 11 8 3 2 12 27.000002% 86.0% 13.0% 1

Packages

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

org.apache.commons.flatfile

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 11 31.0% 79.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.flatfile.Entity
org.apache.commons.flatfile.EntityCollection
org.apache.commons.flatfile.EntityCollectionSupport
org.apache.commons.flatfile.EntityFactory
org.apache.commons.flatfile.EntitySupport
org.apache.commons.flatfile.FieldOption
org.apache.commons.flatfile.FieldSupport
org.apache.commons.flatfile.IndexedEntityCollection
org.apache.commons.flatfile.NamedEntityCollection
org.apache.commons.flatfile.PadJustifyFieldSupport
org.apache.commons.flatfile.PadJustifyFieldSupport$Justify
org.apache.commons.flatfile.DynamicField
org.apache.commons.flatfile.DynamicField$1
org.apache.commons.flatfile.DynamicField$Bounds
org.apache.commons.flatfile.DynamicField$Bounds$1
org.apache.commons.flatfile.EntityArray
org.apache.commons.flatfile.EntityMap
org.apache.commons.flatfile.EntityMap$1
org.apache.commons.flatfile.EntityMap$Child
org.apache.commons.flatfile.EntityMap$ChildrenList
org.apache.commons.flatfile.EntityMap$ChildrenList$1
org.apache.commons.flatfile.Field
org.apache.commons.flatfile.FieldSupport$1
org.apache.commons.flatfile.FieldSupport$Overflow
org.apache.commons.flatfile.FieldSupport$Overflow$1
org.apache.commons.flatfile.FieldSupport$Underflow
org.apache.commons.flatfile.FieldSupport$Underflow$1
org.apache.commons.flatfile.ImmutableEntity
org.apache.commons.flatfile.ImmutableEntity$1
org.apache.commons.flatfile.ImmutableEntity$ImmutableEntityInvocationHandler
org.apache.commons.flatfile.InputFilteringDynamicField
org.apache.commons.flatfile.PadJustifyFieldSupport$1
org.apache.commons.flatfile.PadJustifyFieldSupport$Justify$1
org.apache.commons.flatfile.PadJustifyFieldSupport$Justify$2
org.apache.commons.flatfile.PadJustifyFieldSupport$Justify$3
org.apache.commons.flatfile.dsl
org.apache.commons.flatfile.entityfactory
org.apache.commons.flatfile.morph
java.io
java.lang
java.lang.reflect
java.util
org.apache.commons.collections
org.apache.commons.collections.list
org.apache.commons.flatfile.util
org.apache.commons.io
org.apache.commons.io.output
org.apache.commons.lang
org.apache.commons.lang.builder

org.apache.commons.flatfile.dsl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 11 25.0% 100.0% 25.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.flatfile.dsl.EntityNameStrategy
org.apache.commons.flatfile.dsl.EntityTokenTypes
org.apache.commons.flatfile.dsl.EntityTreeParserTokenTypes
org.apache.commons.flatfile.dsl.ConstantEntityNameStrategy
org.apache.commons.flatfile.dsl.DefaultEntityNameStrategy
org.apache.commons.flatfile.dsl.EntityDefinition
org.apache.commons.flatfile.dsl.EntityLexer
org.apache.commons.flatfile.dsl.EntityParser
org.apache.commons.flatfile.dsl.EntityTreeParser
org.apache.commons.flatfile.dsl.ParserEntityFactory
org.apache.commons.flatfile.dsl.ParserEntityFactory$1
org.apache.commons.flatfile.dsl.ParserEntityFactory$EntityHolder
None antlr
antlr.collections
antlr.collections.impl
java.io
java.lang
java.lang.ref
java.util
org.apache.commons.flatfile
org.apache.commons.flatfile.util
org.apache.commons.lang
org.apache.commons.logging

org.apache.commons.flatfile.entityfactory

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 org.apache.commons.flatfile.entityfactory.CloningEntityFactory
org.apache.commons.flatfile.entityfactory.CompositeEntityFactory
None java.lang
java.util
org.apache.commons.flatfile

org.apache.commons.flatfile.morph

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 12 12.0% 92.0% 4.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.flatfile.morph.BaseEntityCollectionReflector
org.apache.commons.flatfile.morph.BaseEntityCollectionReflector$PropertyAccessor
org.apache.commons.flatfile.morph.BaseEntityCollectionReflector$DefaultPropertyAccessor
org.apache.commons.flatfile.morph.BaseEntityCollectionReflector$OverridingPropertyAccessor
org.apache.commons.flatfile.morph.ByteArrayToEntityCopier
org.apache.commons.flatfile.morph.ContainerToIndexedEntityCollectionCopier
org.apache.commons.flatfile.morph.ContainerToIndexedEntityCollectionCopier$1
org.apache.commons.flatfile.morph.ContainerToIndexedEntityCollectionCopier$SizeOneReflector
org.apache.commons.flatfile.morph.EntityCollectionReflector
org.apache.commons.flatfile.morph.EntityInstantiatingReflector
org.apache.commons.flatfile.morph.EntityToByteArrayConverter
org.apache.commons.flatfile.morph.FieldOptionConstantConverter
org.apache.commons.flatfile.morph.IndexedEntityCollectionInstantiatingReflector
org.apache.commons.flatfile.morph.IndexedEntityCollectionReflector
org.apache.commons.flatfile.morph.NamedEntityCollectionReflector
org.apache.commons.flatfile.morph.TextToByteConverter
org.apache.commons.flatfile.morph.TextToEntityCopier
org.apache.commons.flatfile.util
java.lang
java.lang.reflect
java.util
net.sf.morph
net.sf.morph.reflect
net.sf.morph.reflect.reflectors
net.sf.morph.transform
net.sf.morph.transform.converters
net.sf.morph.transform.copiers
net.sf.morph.transform.transformers
net.sf.morph.util
org.apache.commons.flatfile

org.apache.commons.flatfile.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 12 27.000002% 86.0% 13.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.flatfile.util.ApplyOptions
org.apache.commons.flatfile.util.FilterFactory
org.apache.commons.flatfile.util.RepeatingInputStream
org.apache.commons.flatfile.util.BasicFilterFactory
org.apache.commons.flatfile.util.ConcatenatedInputStream
org.apache.commons.flatfile.util.ConcatenatedInputStream$1
org.apache.commons.flatfile.util.RepeatingInputStream$1
org.apache.commons.flatfile.util.RepeatingInputStream$LimitedOutput
org.apache.commons.flatfile.util.RepeatingInputStream$RepeatArray
org.apache.commons.flatfile.util.RepeatingInputStream$RepeatOneByte
org.apache.commons.flatfile.util.ThresholdingInputStream
org.apache.commons.flatfile
org.apache.commons.flatfile.dsl
java.io
java.lang
java.lang.reflect
java.util
net.sf.morph.lang.languages
net.sf.morph.reflect
net.sf.morph.reflect.reflectors
net.sf.morph.transform
net.sf.morph.transform.transformers
org.apache.commons.collections
org.apache.commons.flatfile.morph
org.apache.commons.io.input

Cycles

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

Package Package Dependencies
org.apache.commons.flatfile org.apache.commons.flatfile.util
org.apache.commons.flatfile.morph
org.apache.commons.flatfile
org.apache.commons.flatfile.dsl org.apache.commons.flatfile.util
org.apache.commons.flatfile.morph
org.apache.commons.flatfile
org.apache.commons.flatfile.util
org.apache.commons.flatfile.entityfactory org.apache.commons.flatfile
org.apache.commons.flatfile.util
org.apache.commons.flatfile.morph
org.apache.commons.flatfile
org.apache.commons.flatfile.morph org.apache.commons.flatfile
org.apache.commons.flatfile.util
org.apache.commons.flatfile.morph
org.apache.commons.flatfile.util org.apache.commons.flatfile.morph
org.apache.commons.flatfile
org.apache.commons.flatfile.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.