Metric Results

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

The following document contains the results of a JDependmetric analysis. The various metrics are defined at the bottom of this document.

Summary

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

Package TC AC CC AC EC A I D
org.apache.turbine 3 1 2 24 19 0.33 44% 22%
org.apache.turbine.modules 16 10 6 18 14 0.62 44% 6%
org.apache.turbine.modules.actions 7 2 5 1 19 0.29 95% 24%
org.apache.turbine.modules.actions.sessionvalidator 4 1 3 1 12 0.25 92% 17%
org.apache.turbine.modules.layouts 5 0 5 0 14 0 100% 0%
org.apache.turbine.modules.navigations 3 1 2 0 10 0.33 100% 33%
org.apache.turbine.modules.pages 4 0 4 0 15 0 100% 0%
org.apache.turbine.modules.screens 9 3 6 1 19 0.33 95% 28%
org.apache.turbine.modules.screens.error 1 0 1 0 9 0 100% 0%
org.apache.turbine.om 6 3 3 0 4 0.5 100% 50%
org.apache.turbine.om.security 10 6 4 13 8 0.6 38% 2%
org.apache.turbine.pipeline 16 5 11 17 15 0.31 47% 22%
org.apache.turbine.services 15 9 6 20 10 0.6 33% 7%
org.apache.turbine.services.assemblerbroker 3 2 1 2 8 0.67 80% 47%
org.apache.turbine.services.assemblerbroker.util 1 1 0 3 2 1 40% 40%
org.apache.turbine.services.assemblerbroker.util.java 7 1 6 0 9 0.14 100% 14%
org.apache.turbine.services.assemblerbroker.util.python 6 1 5 0 10 0.17 100% 17%
org.apache.turbine.services.avaloncomponent 3 1 2 7 17 0.33 71% 4%
org.apache.turbine.services.intake 3 0 3 0 9 0 100% 0%
org.apache.turbine.services.jsp 3 2 1 4 14 0.67 78% 44%
org.apache.turbine.services.jsp.util 2 0 2 1 7 0 88% 12%
org.apache.turbine.services.localization 1 0 1 0 8 0 100% 0%
org.apache.turbine.services.naming 2 1 1 0 7 0.5 100% 50%
org.apache.turbine.services.pull 7 5 2 10 15 0.71 60% 31%
org.apache.turbine.services.pull.tools 4 0 4 1 9 0 90% 10%
org.apache.turbine.services.pull.util 3 0 3 0 12 0 100% 0%
org.apache.turbine.services.rundata 4 2 2 2 22 0.5 92% 42%
org.apache.turbine.services.schedule 4 3 1 1 6 0.75 86% 61%
org.apache.turbine.services.security 5 4 1 10 12 0.8 55% 35%
org.apache.turbine.services.security.ldap 4 0 4 0 12 0 100% 0%
org.apache.turbine.services.security.passive 1 0 1 0 6 0 100% 0%
org.apache.turbine.services.servlet 3 1 2 2 8 0.33 80% 13%
org.apache.turbine.services.session 5 2 3 0 7 0.4 100% 40%
org.apache.turbine.services.template 5 4 1 11 16 0.8 59% 39%
org.apache.turbine.services.template.mapper 9 3 6 1 6 0.33 86% 19%
org.apache.turbine.services.uniqueid 3 2 1 0 7 0.67 100% 67%
org.apache.turbine.services.velocity 3 2 1 7 19 0.67 73% 40%
org.apache.turbine.services.xmlrpc 3 2 1 1 13 0.67 93% 60%
org.apache.turbine.services.xmlrpc.util 3 0 3 1 14 0 93% 7%
org.apache.turbine.services.xslt 3 1 2 1 11 0.33 92% 25%
org.apache.turbine.util 19 3 16 33 26 0.16 44% 40%
org.apache.turbine.util.parser 1 1 0 2 5 1 71% 71%
org.apache.turbine.util.pool 5 2 3 0 7 0.4 100% 40%
org.apache.turbine.util.security 12 2 10 8 7 0.17 47% 37%
org.apache.turbine.util.template 8 0 8 11 16 0 59% 41%
org.apache.turbine.util.uri 8 4 4 3 11 0.5 79% 29%
org.apache.turbine.util.velocity 4 1 3 1 15 0.25 94% 19%

Packages

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

org.apache.turbine

Afferent Couplings Efferent Couplings Abstractness Instability Distance
24 19 33% 44% 22%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.modules.navigations

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 33% 100% 33%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.modules.screens.error

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 9 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

org.apache.turbine.om

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 50% 100% 50%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.assemblerbroker.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 2 100% 40% 40%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.assemblerbroker.util.java

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 9 14% 100% 14%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.intake

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 9 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

org.apache.turbine.services.jsp.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 0% 88% 12%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.localization

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 8 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

org.apache.turbine.services.naming

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 7 50% 100% 50%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.pull.tools

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 0% 90% 10%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.pull.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

org.apache.turbine.services.schedule

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 75% 86% 61%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.services.security.ldap

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

org.apache.turbine.services.security.passive

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

org.apache.turbine.services.servlet

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 8 33% 80% 13%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.services.session

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 7 40% 100% 40%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.template.mapper

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 33% 86% 19%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.services.uniqueid

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 7 67% 100% 67%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.xslt

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 33% 92% 25%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
33 26 16% 44% 40%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.util.parser

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 100% 71% 71%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.util.pool

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 7 40% 100% 40%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

Cycles

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

Package Cyclic Dependencies
org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules.actions
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules.actions.sessionvalidator
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules.layouts
  • org.apache.turbine.modules
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules.navigations
  • org.apache.turbine.services.jsp
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules.pages
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules.screens
  • org.apache.turbine.services.jsp
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.modules.screens.error
  • org.apache.turbine.util.uri
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.om
  • org.apache.turbine.services.pull
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.om.security
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.assemblerbroker
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.assemblerbroker.util
  • org.apache.turbine.modules
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.assemblerbroker.util.java
  • org.apache.turbine.modules
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.assemblerbroker.util.python
  • org.apache.turbine.modules
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.avaloncomponent
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.intake
  • org.apache.turbine.services.pull
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.jsp
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.jsp.util
  • org.apache.turbine.util.template
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.localization
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.naming
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.pull
  • org.apache.turbine.pipeline
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.pull.tools
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.pull.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.rundata
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.schedule
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.security
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.security.ldap
  • org.apache.turbine.services.security
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.security.passive
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.servlet
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.session
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.template
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.template.mapper
  • org.apache.turbine.services.template
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.uniqueid
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.velocity
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.xmlrpc
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.xmlrpc.util
  • org.apache.turbine.services.security
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.services.xslt
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.util.parser
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.util.pool
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.util.template
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.util.uri
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security
org.apache.turbine.util.velocity
  • org.apache.turbine.services.velocity
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
  • org.apache.turbine.util.security

Explanations

[ 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.