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
net.sf.arestc.configuration 4 4 0 1 8 0.0% 89.0% 11.0% 1
net.sf.arestc.core 27 21 6 0 20 22.0% 100.0% 22.0% 1
net.sf.arestc.core.bodytransformations 9 7 2 1 9 22.0% 90.0% 12.0% 1
net.sf.arestc.core.services 9 8 1 3 9 11.0% 75.0% 14.0% 1
net.sf.arestc.core.validations 1 1 0 1 5 0.0% 83.0% 17.0% 1

Packages

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

net.sf.arestc.configuration

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 net.sf.arestc.configuration.ClientConfigurationFactory
net.sf.arestc.configuration.CommunicationBuilder
net.sf.arestc.configuration.CommunicationFactory
net.sf.arestc.configuration.ServicesConfigurationFactory
net.sf.arestc.core
java.io
java.lang
java.util
net.sf.arestc.core.services
org.apache.commons.configuration
org.apache.commons.httpclient
org.apache.commons.httpclient.auth
org.apache.commons.httpclient.params

net.sf.arestc.core

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 20 22.0% 100.0% 22.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.sf.arestc.core.ARESTCError
net.sf.arestc.core.BaseRequestTransformer
net.sf.arestc.core.ConnectorCommand
net.sf.arestc.core.ConnectorRequest
net.sf.arestc.core.ConnectorResponse
net.sf.arestc.core.RequestTransformer
net.sf.arestc.core.ARESTConnector
net.sf.arestc.core.BaseCommand
net.sf.arestc.core.BaseError
net.sf.arestc.core.CallServer
net.sf.arestc.core.CallServer$1
net.sf.arestc.core.ChainBuilder
net.sf.arestc.core.CommandException
net.sf.arestc.core.ConnectorContext
net.sf.arestc.core.ConnectorTypes
net.sf.arestc.core.ConnectorTypes$1
net.sf.arestc.core.DummyTransformer
net.sf.arestc.core.GETTransformer
net.sf.arestc.core.POSTTransformer
net.sf.arestc.core.PUTTransformer
net.sf.arestc.core.RequestTransformerFactory
net.sf.arestc.core.RequestTransformerFactory$1
net.sf.arestc.core.StandardConnectorRequest
net.sf.arestc.core.StandardConnectorResponse
net.sf.arestc.core.Ticketer
net.sf.arestc.core.TransformResponse
net.sf.arestc.core.TransformToServiceCall
None java.io
java.lang
java.net
java.text
java.util
net.sf.arestc.configuration
net.sf.arestc.core.bodytransformations
net.sf.arestc.core.services
net.sf.arestc.core.validations
org.apache.commons.collections
org.apache.commons.configuration
org.apache.commons.httpclient
org.apache.commons.httpclient.auth
org.apache.commons.httpclient.methods
org.apache.commons.httpclient.methods.multipart
org.apache.commons.httpclient.params
org.apache.commons.io
org.apache.commons.lang.builder
org.apache.log4j
org.w3c.dom

net.sf.arestc.core.bodytransformations

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 22.0% 90.0% 12.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.sf.arestc.core.bodytransformations.ObjectMapper
net.sf.arestc.core.bodytransformations.ReturnTransformer
net.sf.arestc.core.bodytransformations.DomReturnTransformer
net.sf.arestc.core.bodytransformations.JSONReturnTransformer
net.sf.arestc.core.bodytransformations.JSONReturnTransformer$1
net.sf.arestc.core.bodytransformations.JXPathReturnTransformer
net.sf.arestc.core.bodytransformations.NoneReturnTransformer
net.sf.arestc.core.bodytransformations.ObjectReturnTransformer
net.sf.arestc.core.bodytransformations.ReturnTransformationTypes
net.sf.arestc.core
com.google.gson
com.google.gson.reflect
java.io
java.lang
javax.xml.parsers
org.apache.commons.io
org.apache.commons.jxpath
org.apache.log4j
org.xml.sax

net.sf.arestc.core.services

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 9 11.0% 75.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.sf.arestc.core.services.RESTService
net.sf.arestc.core.services.BaseService
net.sf.arestc.core.services.HTTPMethods
net.sf.arestc.core.services.HTTPMethods$1
net.sf.arestc.core.services.ReturnedTypes
net.sf.arestc.core.services.ServiceAuthenticationData
net.sf.arestc.core.services.ServiceConnectionData
net.sf.arestc.core.services.ServiceConnectorData
net.sf.arestc.core.services.ServiceParameterTypes
net.sf.arestc.configuration
net.sf.arestc.core
net.sf.arestc.core.validations
java.lang
java.net
java.text
java.util
org.apache.commons.collections
org.apache.commons.configuration
org.apache.commons.httpclient
org.apache.commons.httpclient.methods
org.apache.log4j

net.sf.arestc.core.validations

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0.0% 83.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None net.sf.arestc.core.validations.RequestValidator
net.sf.arestc.core
java.lang
java.util
net.sf.arestc.core.services
org.apache.commons.configuration
org.apache.commons.httpclient

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.