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.ws.commons.schema 83 73 10 3 17 12.0% 85.0% 3.0% 1
org.apache.ws.commons.schema.constants 6 5 1 1 2 17.0% 67.0% 17.0% 1
org.apache.ws.commons.schema.extensions 5 3 2 1 5 40.0% 83.0% 23.0% 1
org.apache.ws.commons.schema.resolver 3 1 2 1 4 67.0% 80.0% 47.0% 1
org.apache.ws.commons.schema.tools 2 2 0 0 9 0.0% 100.0% 0.0% 1
org.apache.ws.commons.schema.utils 9 5 4 1 7 44.0% 88.0% 32.0% 1

Packages

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

org.apache.ws.commons.schema

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 17 12.0% 85.0% 3.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.ws.commons.schema.TypeReceiver
org.apache.ws.commons.schema.XmlSchemaContent
org.apache.ws.commons.schema.XmlSchemaContentModel
org.apache.ws.commons.schema.XmlSchemaDatatype
org.apache.ws.commons.schema.XmlSchemaExternal
org.apache.ws.commons.schema.XmlSchemaFacet
org.apache.ws.commons.schema.XmlSchemaGroupBase
org.apache.ws.commons.schema.XmlSchemaNumericFacet
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaSimpleTypeContent
org.apache.ws.commons.schema.DocumentFragmentNodeList
org.apache.ws.commons.schema.SchemaBuilder
org.apache.ws.commons.schema.SchemaBuilder$1
org.apache.ws.commons.schema.SchemaBuilder$2
org.apache.ws.commons.schema.ValidationEvent
org.apache.ws.commons.schema.ValidationEventHandler
org.apache.ws.commons.schema.XmlSchema
org.apache.ws.commons.schema.XmlSchemaAll
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaAnnotation
org.apache.ws.commons.schema.XmlSchemaAny
org.apache.ws.commons.schema.XmlSchemaAnyAttribute
org.apache.ws.commons.schema.XmlSchemaAppInfo
org.apache.ws.commons.schema.XmlSchemaAttribute
org.apache.ws.commons.schema.XmlSchemaAttributeGroup
org.apache.ws.commons.schema.XmlSchemaAttributeGroupRef
org.apache.ws.commons.schema.XmlSchemaChoice
org.apache.ws.commons.schema.XmlSchemaCollection
org.apache.ws.commons.schema.XmlSchemaCollection$1
org.apache.ws.commons.schema.XmlSchemaCollection$SchemaKey
org.apache.ws.commons.schema.XmlSchemaCollectionEnumerator
org.apache.ws.commons.schema.XmlSchemaComplexContent
org.apache.ws.commons.schema.XmlSchemaComplexContentExtension
org.apache.ws.commons.schema.XmlSchemaComplexContentRestriction
org.apache.ws.commons.schema.XmlSchemaComplexType
org.apache.ws.commons.schema.XmlSchemaContentProcessing
org.apache.ws.commons.schema.XmlSchemaContentType
org.apache.ws.commons.schema.XmlSchemaDerivationMethod
org.apache.ws.commons.schema.XmlSchemaDocumentation
org.apache.ws.commons.schema.XmlSchemaElement
org.apache.ws.commons.schema.XmlSchemaEnumerationFacet
org.apache.ws.commons.schema.XmlSchemaException
org.apache.ws.commons.schema.XmlSchemaForm
org.apache.ws.commons.schema.XmlSchemaFractionDigitsFacet
org.apache.ws.commons.schema.XmlSchemaGroup
org.apache.ws.commons.schema.XmlSchemaGroupRef
org.apache.ws.commons.schema.XmlSchemaIdentityConstraint
org.apache.ws.commons.schema.XmlSchemaImport
org.apache.ws.commons.schema.XmlSchemaInclude
org.apache.ws.commons.schema.XmlSchemaKey
org.apache.ws.commons.schema.XmlSchemaKeyref
org.apache.ws.commons.schema.XmlSchemaLengthFacet
org.apache.ws.commons.schema.XmlSchemaMaxExclusiveFacet
org.apache.ws.commons.schema.XmlSchemaMaxInclusiveFacet
org.apache.ws.commons.schema.XmlSchemaMaxLengthFacet
org.apache.ws.commons.schema.XmlSchemaMinExclusiveFacet
org.apache.ws.commons.schema.XmlSchemaMinInclusiveFacet
org.apache.ws.commons.schema.XmlSchemaMinLengthFacet
org.apache.ws.commons.schema.XmlSchemaNotation
org.apache.ws.commons.schema.XmlSchemaObjectCollection
org.apache.ws.commons.schema.XmlSchemaObjectEnumerator
org.apache.ws.commons.schema.XmlSchemaObjectTable
org.apache.ws.commons.schema.XmlSchemaParticle
org.apache.ws.commons.schema.XmlSchemaPatternFacet
org.apache.ws.commons.schema.XmlSchemaRedefine
org.apache.ws.commons.schema.XmlSchemaSequence
org.apache.ws.commons.schema.XmlSchemaSerializer
org.apache.ws.commons.schema.XmlSchemaSerializer$XmlSchemaSerializerException
org.apache.ws.commons.schema.XmlSchemaSimpleContent
org.apache.ws.commons.schema.XmlSchemaSimpleContentExtension
org.apache.ws.commons.schema.XmlSchemaSimpleContentRestriction
org.apache.ws.commons.schema.XmlSchemaSimpleType
org.apache.ws.commons.schema.XmlSchemaSimpleTypeList
org.apache.ws.commons.schema.XmlSchemaSimpleTypeRestriction
org.apache.ws.commons.schema.XmlSchemaSimpleTypeUnion
org.apache.ws.commons.schema.XmlSchemaTotalDigitsFacet
org.apache.ws.commons.schema.XmlSchemaType
org.apache.ws.commons.schema.XmlSchemaUnique
org.apache.ws.commons.schema.XmlSchemaUse
org.apache.ws.commons.schema.XmlSchemaWhiteSpaceFacet
org.apache.ws.commons.schema.XmlSchemaXPath
org.apache.ws.commons.schema.XmlSeverityType
org.apache.ws.commons.schema.XmlTokenizedType
org.apache.ws.commons.schema.extensions
org.apache.ws.commons.schema.tools
org.apache.ws.commons.schema.utils
java.io
java.lang
java.lang.ref
java.security
java.util
javax.xml.namespace
javax.xml.parsers
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.sax
javax.xml.transform.stream
org.apache.ws.commons.schema.constants
org.apache.ws.commons.schema.extensions
org.apache.ws.commons.schema.resolver
org.apache.ws.commons.schema.utils
org.w3c.dom
org.xml.sax

org.apache.ws.commons.schema.constants

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 17.0% 67.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.ws.commons.schema.constants.Enum
org.apache.ws.commons.schema.constants.Constants
org.apache.ws.commons.schema.constants.Constants$BlockConstants
org.apache.ws.commons.schema.constants.Constants$MetaDataConstants
org.apache.ws.commons.schema.constants.Constants$SystemConstants
org.apache.ws.commons.schema.constants.Enum$EnumValueException
org.apache.ws.commons.schema
java.lang
javax.xml.namespace

org.apache.ws.commons.schema.extensions

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 40.0% 83.0% 23.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.ws.commons.schema.extensions.ExtensionDeserializer
org.apache.ws.commons.schema.extensions.ExtensionSerializer
org.apache.ws.commons.schema.extensions.DefaultExtensionDeserializer
org.apache.ws.commons.schema.extensions.DefaultExtensionSerializer
org.apache.ws.commons.schema.extensions.ExtensionRegistry
org.apache.ws.commons.schema
java.lang
java.util
javax.xml.namespace
org.apache.ws.commons.schema
org.w3c.dom

org.apache.ws.commons.schema.resolver

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 67.0% 80.0% 47.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.ws.commons.schema.resolver.CollectionURIResolver
org.apache.ws.commons.schema.resolver.URIResolver
org.apache.ws.commons.schema.resolver.DefaultURIResolver
org.apache.ws.commons.schema
java.io
java.lang
java.net
org.xml.sax

org.apache.ws.commons.schema.tools

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 9 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.ws.commons.schema.tools.ReadSchemaFromURL
org.apache.ws.commons.schema.tools.ReadSchemaFromURL$1
None java.io
java.lang
java.util
javax.xml.namespace
javax.xml.parsers
javax.xml.xpath
org.apache.ws.commons.schema
org.w3c.dom
org.xml.sax

org.apache.ws.commons.schema.utils

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 44.0% 88.0% 32.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.ws.commons.schema.utils.NamespaceContextOwner
org.apache.ws.commons.schema.utils.NamespacePrefixList
org.apache.ws.commons.schema.utils.PrefixCollector
org.apache.ws.commons.schema.utils.TargetNamespaceValidator
org.apache.ws.commons.schema.utils.DOMUtil
org.apache.ws.commons.schema.utils.NamespaceMap
org.apache.ws.commons.schema.utils.NodeNamespaceContext
org.apache.ws.commons.schema.utils.NodeNamespaceContext$1
org.apache.ws.commons.schema.utils.XDOMUtil
org.apache.ws.commons.schema
java.io
java.lang
java.lang.reflect
java.util
javax.xml.namespace
org.apache.ws.commons.schema
org.w3c.dom

Cycles

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

Package Package Dependencies
org.apache.ws.commons.schema org.apache.ws.commons.schema.utils
org.apache.ws.commons.schema
org.apache.ws.commons.schema.extensions org.apache.ws.commons.schema
org.apache.ws.commons.schema.utils
org.apache.ws.commons.schema
org.apache.ws.commons.schema.tools org.apache.ws.commons.schema
org.apache.ws.commons.schema.utils
org.apache.ws.commons.schema
org.apache.ws.commons.schema.utils org.apache.ws.commons.schema
org.apache.ws.commons.schema.utils

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.