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.settings4j 11 3 8 9 4 73.0% 31.0% 3.0% 1
org.settings4j.config 5 4 1 1 17 20.0% 94.0% 14.0% 1
org.settings4j.connector 11 9 2 3 9 18.0% 75.0% 7.0% 1
org.settings4j.contentresolver 4 4 0 3 6 0.0% 67.0% 33.0% 1
org.settings4j.helper.configuration 1 1 0 0 3 0.0% 100.0% 0.0% 1
org.settings4j.helper.spring 7 7 0 1 13 0.0% 93.0% 7.0% 1
org.settings4j.helper.web 4 4 0 1 11 0.0% 92.0% 8.0% 1
org.settings4j.objectresolver 6 5 1 1 8 17.0% 89.0% 6.0% 1
org.settings4j.settings 5 5 0 2 9 0.0% 82.0% 18.0% 1
org.settings4j.settings.position 9 9 0 1 3 0.0% 75.0% 25.0% 1
org.settings4j.util 7 7 0 1 8 0.0% 89.0% 11.0% 1

Packages

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

org.settings4j

Afferent Couplings Efferent Couplings Abstractness Instability Distance
9 4 73.0% 31.0% 3.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.settings4j.Connector
org.settings4j.ConnectorPosition
org.settings4j.ContentResolver
org.settings4j.Filter
org.settings4j.ObjectResolver
org.settings4j.Settings4jFactory
org.settings4j.Settings4jInstance
org.settings4j.Settings4jRepository
org.settings4j.ConnectorPositions
org.settings4j.Constants
org.settings4j.Settings4j
org.settings4j.config
org.settings4j.connector
org.settings4j.contentresolver
org.settings4j.helper.spring
org.settings4j.helper.web
org.settings4j.objectresolver
org.settings4j.settings
org.settings4j.settings.position
org.settings4j.util
java.lang
java.util
org.settings4j.settings
org.settings4j.settings.position

org.settings4j.config

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 17 20.0% 94.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.settings4j.config.DOMConfigurator$ParseAction
org.settings4j.config.DOMConfigurator
org.settings4j.config.DOMConfigurator$1
org.settings4j.config.SAXErrorHandler
org.settings4j.config.Settings4jEntityResolver
org.settings4j.settings
java.io
java.lang
java.lang.reflect
java.net
java.util
javax.xml.parsers
org.apache.commons.beanutils
org.apache.commons.lang3
org.settings4j
org.settings4j.connector
org.settings4j.contentresolver
org.settings4j.objectresolver
org.settings4j.settings
org.settings4j.util
org.slf4j
org.w3c.dom
org.xml.sax

org.settings4j.connector

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 9 18.0% 75.0% 7.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.settings4j.connector.AbstractConnector
org.settings4j.connector.AbstractPropertyConnector
org.settings4j.connector.CachedConnectorWrapper
org.settings4j.connector.ClasspathConnector
org.settings4j.connector.EnvironmentConnector
org.settings4j.connector.FSConnector
org.settings4j.connector.FilteredConnectorWrapper
org.settings4j.connector.JNDIConnector
org.settings4j.connector.PreferencesConnector
org.settings4j.connector.PropertyFileConnector
org.settings4j.connector.SystemPropertyConnector
org.settings4j.config
org.settings4j.helper.configuration
org.settings4j.helper.web
java.io
java.lang
java.util
java.util.prefs
javax.naming
org.apache.commons.lang3
org.settings4j
org.settings4j.contentresolver
org.slf4j

org.settings4j.contentresolver

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 6 0.0% 67.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.settings4j.contentresolver.ClasspathContentResolver
org.settings4j.contentresolver.FSContentResolver
org.settings4j.contentresolver.FilteredContentResolverWrapper
org.settings4j.contentresolver.UnionContentResolver
org.settings4j.config
org.settings4j.connector
org.settings4j.settings
java.io
java.lang
java.net
org.apache.commons.io
org.settings4j
org.slf4j

org.settings4j.helper.configuration

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.settings4j.helper.configuration.ConfigurationToConnectorAdapter
None java.lang
org.apache.commons.configuration
org.settings4j.connector

org.settings4j.helper.spring

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 13 0.0% 93.0% 7.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.settings4j.helper.spring.ByteArrayXMLApplicationContext
org.settings4j.helper.spring.Settings4jContextLoader
org.settings4j.helper.spring.Settings4jContextLoaderListener
org.settings4j.helper.spring.Settings4jFactoryBean
org.settings4j.helper.spring.Settings4jPlaceholderConfigurer
org.settings4j.helper.spring.Settings4jPlaceholderConfigurer$1
org.settings4j.helper.spring.Settings4jPlaceholderConfigurer$Settings4jPlaceholderConfigurerResolver
org.settings4j.objectresolver
java.lang
java.util
javax.servlet
org.settings4j
org.settings4j.helper.web
org.slf4j
org.springframework.beans.factory
org.springframework.beans.factory.config
org.springframework.context.support
org.springframework.core.io
org.springframework.util
org.springframework.web.context
org.springframework.web.context.support

org.settings4j.helper.web

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 0.0% 92.0% 8.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.settings4j.helper.web.DefaultPropertiesLoader
org.settings4j.helper.web.DefaultPropertiesLoaderListener
org.settings4j.helper.web.Log4jConfigurationLoader
org.settings4j.helper.web.Log4jConfigurationLoaderListener
org.settings4j.helper.spring
java.io
java.lang
java.net
java.util
javax.servlet
org.apache.log4j
org.apache.log4j.helpers
org.apache.log4j.xml
org.settings4j
org.settings4j.connector
org.slf4j

org.settings4j.objectresolver

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 17.0% 89.0% 6.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.settings4j.objectresolver.AbstractObjectResolver
org.settings4j.objectresolver.FilteredObjectResolverWrapper
org.settings4j.objectresolver.JavaXMLBeansObjectResolver
org.settings4j.objectresolver.JavaXMLBeansObjectResolver$LogDecoderExceptionListener
org.settings4j.objectresolver.SpringConfigObjectResolver
org.settings4j.objectresolver.UnionObjectResolver
org.settings4j.config
java.beans
java.io
java.lang
java.util
org.apache.commons.lang3
org.settings4j
org.settings4j.helper.spring
org.slf4j

org.settings4j.settings

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 9 0.0% 82.0% 18.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.settings4j.settings.DefaultFilter
org.settings4j.settings.DefaultSettings
org.settings4j.settings.DefaultSettingsFactory
org.settings4j.settings.DefaultSettingsRepository
org.settings4j.settings.SettingsManager
org.settings4j
org.settings4j.config
java.lang
java.util
java.util.regex
javax.xml.parsers
org.apache.commons.lang3
org.settings4j
org.settings4j.config
org.settings4j.contentresolver
org.slf4j

org.settings4j.settings.position

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 0.0% 75.0% 25.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.settings4j.settings.position.ConnectorPositionAfterFirstClass
org.settings4j.settings.position.ConnectorPositionAfterLastClass
org.settings4j.settings.position.ConnectorPositionAfterName
org.settings4j.settings.position.ConnectorPositionAtFirst
org.settings4j.settings.position.ConnectorPositionAtLast
org.settings4j.settings.position.ConnectorPositionBeforeFirstClass
org.settings4j.settings.position.ConnectorPositionBeforeLastClass
org.settings4j.settings.position.ConnectorPositionBeforeName
org.settings4j.settings.position.ConnectorPositionFirstValid
org.settings4j
java.lang
java.util
org.settings4j

org.settings4j.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 0.0% 89.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.settings4j.util.ELConnectorWrapper
org.settings4j.util.ELConnectorWrapper$1
org.settings4j.util.ELConnectorWrapper$2
org.settings4j.util.ELConnectorWrapper$3
org.settings4j.util.ExpressionLanguageUtil
org.settings4j.util.ExpressionLanguageUtil$1
org.settings4j.util.MatchPatternTransformer
org.settings4j.config
java.lang
java.util
java.util.regex
org.apache.commons.collections4
org.apache.commons.collections4.map
org.apache.taglibs.standard.lang.jstl
org.settings4j
org.slf4j

Cycles

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

Package Package Dependencies
org.settings4j org.settings4j.settings.position
org.settings4j
org.settings4j.config org.settings4j.contentresolver
org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.connector org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.contentresolver org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.helper.configuration org.settings4j.connector
org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.helper.spring org.settings4j.helper.web
org.settings4j.connector
org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.helper.web org.settings4j.connector
org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.objectresolver org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.settings org.settings4j
org.settings4j.settings.position
org.settings4j
org.settings4j.settings.position org.settings4j
org.settings4j.settings.position
org.settings4j.util org.settings4j
org.settings4j.settings.position
org.settings4j

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.