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 2 1 1 27 18 0.5 40% 10%
org.apache.turbine.modules 16 10 6 18 12 0.62 40% 2%
org.apache.turbine.modules.actions 7 2 5 0 18 0.29 100% 29%
org.apache.turbine.modules.actions.sessionvalidator 4 1 3 0 11 0.25 100% 25%
org.apache.turbine.modules.layouts 7 0 7 0 14 0 100% 0%
org.apache.turbine.modules.navigations 5 1 4 0 11 0.2 100% 20%
org.apache.turbine.modules.pages 4 0 4 0 14 0 100% 0%
org.apache.turbine.modules.screens 11 4 7 1 20 0.36 95% 32%
org.apache.turbine.modules.screens.error 1 0 1 0 8 0 100% 0%
org.apache.turbine.om 6 3 3 2 4 0.5 67% 17%
org.apache.turbine.om.security 10 6 4 17 9 0.6 35% 5%
org.apache.turbine.om.security.peer 7 1 6 1 14 0.14 93% 8%
org.apache.turbine.services 14 8 6 29 9 0.57 24% 19%
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 0 18 0.33 100% 33%
org.apache.turbine.services.cache 7 3 4 0 6 0.43 100% 43%
org.apache.turbine.services.crypto 4 3 1 2 6 0.75 75% 50%
org.apache.turbine.services.crypto.provider 4 0 4 0 8 0 100% 0%
org.apache.turbine.services.factory 4 3 1 4 8 0.75 67% 42%
org.apache.turbine.services.intake 7 2 5 3 21 0.29 88% 16%
org.apache.turbine.services.intake.model 33 4 29 2 18 0.12 90% 2%
org.apache.turbine.services.intake.transform 2 0 2 1 8 0 89% 11%
org.apache.turbine.services.intake.validator 24 6 18 2 11 0.25 85% 10%
org.apache.turbine.services.intake.xmlmodel 4 0 4 3 7 0 70% 30%
org.apache.turbine.services.jsonrpc 4 2 2 1 8 0.5 89% 39%
org.apache.turbine.services.jsp 3 2 1 4 13 0.67 76% 43%
org.apache.turbine.services.jsp.util 3 0 3 1 7 0 88% 12%
org.apache.turbine.services.localization 8 2 6 1 11 0.25 92% 17%
org.apache.turbine.services.mimetype 3 2 1 1 7 0.67 88% 54%
org.apache.turbine.services.mimetype.util 4 0 4 1 3 0 75% 25%
org.apache.turbine.services.naming 2 1 1 0 8 0.5 100% 50%
org.apache.turbine.services.pool 5 2 3 3 9 0.4 75% 15%
org.apache.turbine.services.pull 6 4 2 11 13 0.67 54% 21%
org.apache.turbine.services.pull.tools 3 0 3 1 10 0 91% 9%
org.apache.turbine.services.pull.util 3 0 3 0 12 0 100% 0%
org.apache.turbine.services.rundata 5 3 2 1 20 0.6 95% 55%
org.apache.turbine.services.schedule 13 4 9 1 16 0.31 94% 25%
org.apache.turbine.services.schedule.map 1 0 1 0 3 0 100% 0%
org.apache.turbine.services.security 5 4 1 13 12 0.8 48% 28%
org.apache.turbine.services.security.db 2 0 2 0 12 0 100% 0%
org.apache.turbine.services.security.ldap 5 0 5 0 14 0 100% 0%
org.apache.turbine.services.security.passive 1 0 1 0 7 0 100% 0%
org.apache.turbine.services.security.torque 19 5 14 0 19 0.26 100% 26%
org.apache.turbine.services.security.torque.om 24 12 12 1 10 0.5 91% 41%
org.apache.turbine.services.security.torque.om.map 6 0 6 0 4 0 100% 0%
org.apache.turbine.services.servlet 3 1 2 7 8 0.33 53% 13%
org.apache.turbine.services.session 5 2 3 0 7 0.4 100% 40%
org.apache.turbine.services.template 5 4 1 10 14 0.8 58% 38%
org.apache.turbine.services.template.mapper 9 3 6 1 6 0.33 86% 19%
org.apache.turbine.services.ui 3 1 2 1 13 0.33 93% 26%
org.apache.turbine.services.uniqueid 3 2 1 0 7 0.67 100% 67%
org.apache.turbine.services.upload 4 3 1 1 14 0.75 93% 68%
org.apache.turbine.services.velocity 3 2 1 7 18 0.67 72% 39%
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 13 0.33 93% 26%
org.apache.turbine.util 19 3 16 41 22 0.16 35% 49%
org.apache.turbine.util.db.map 1 0 1 2 4 0 67% 33%
org.apache.turbine.util.parser 10 5 5 16 22 0.5 58% 8%
org.apache.turbine.util.pool 6 3 3 6 4 0.5 40% 10%
org.apache.turbine.util.security 12 2 10 11 7 0.17 39% 44%
org.apache.turbine.util.template 7 0 7 10 16 0 62% 38%
org.apache.turbine.util.uri 8 4 4 7 10 0.5 59% 9%
org.apache.turbine.util.velocity 4 1 3 1 14 0.25 93% 18%

Packages

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

org.apache.turbine

Afferent Couplings Efferent Couplings Abstractness Instability Distance
27 18 50% 40% 10%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.modules.screens.error

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

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 4 50% 67% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.services

Afferent Couplings Efferent Couplings Abstractness Instability Distance
29 9 57% 24% 19%
Abstract Classes Concrete Classes Used by Packages Uses Packages

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

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

org.apache.turbine.services.crypto

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 6 75% 75% 50%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.services.crypto.provider

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.intake.transform

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

org.apache.turbine.services.intake.xmlmodel

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 7 0% 70% 30%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.jsonrpc

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 50% 89% 39%
Abstract Classes Concrete Classes Used by Packages Uses Packages

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

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 67% 88% 54%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.services.mimetype.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 0% 75% 25%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.apache.turbine.services.naming

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

org.apache.turbine.services.schedule.map

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 3 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 7 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

org.apache.turbine.services.security.torque.om.map

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

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

Afferent Couplings Efferent Couplings Abstractness Instability Distance
41 22 16% 35% 49%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.apache.turbine.util.db.map

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 4 0% 67% 33%
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
org.apache.turbine.modules
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
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.util.parser
  • org.apache.turbine.util.pool
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.modules.layouts
  • org.apache.turbine.modules
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.modules.navigations
  • org.apache.turbine.services.jsp
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.modules.pages
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.modules.screens
  • org.apache.turbine.services.jsp
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.modules.screens.error
  • org.apache.turbine.util.parser
  • org.apache.turbine.util.pool
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.om
  • org.apache.turbine.util.pool
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.om.security
  • org.apache.turbine.util.security
  • org.apache.turbine.om.security
org.apache.turbine.om.security.peer
  • 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
  • org.apache.turbine.services
org.apache.turbine.services.assemblerbroker
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.assemblerbroker.util
  • org.apache.turbine.modules
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.assemblerbroker.util.java
  • org.apache.turbine.modules
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.assemblerbroker.util.python
  • org.apache.turbine.modules
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.avaloncomponent
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.services.cache
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.services.crypto
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.crypto.provider
  • org.apache.turbine.services.crypto
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.factory
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.intake
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.intake.model
  • org.apache.turbine.services.intake
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.intake.transform
  • org.apache.turbine.services.intake.xmlmodel
  • org.apache.turbine.services.intake
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.intake.validator
  • org.apache.turbine.services.intake.model
  • org.apache.turbine.services.intake
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.intake.xmlmodel
  • org.apache.turbine.services.intake
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.jsonrpc
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.jsp
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.jsp.util
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.services.localization
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.services.mimetype
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.naming
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.pool
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.pull
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.pull.tools
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.services.pull.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.services.rundata
  • org.apache.turbine.services.mimetype
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.schedule
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.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.security.db
  • 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.security.torque
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.servlet
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.session
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.template
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.template.mapper
  • org.apache.turbine.services.template
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.ui
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.uniqueid
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.upload
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.services.velocity
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
org.apache.turbine.services.xmlrpc
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
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
  • org.apache.turbine.services
org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.util.parser
  • org.apache.turbine.util.pool
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
org.apache.turbine.util.pool
  • org.apache.turbine.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.util.template
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.util.uri
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util
  • org.apache.turbine
org.apache.turbine.util.velocity
  • org.apache.turbine.util.parser
  • org.apache.turbine.util.pool
  • org.apache.turbine.util
  • org.apache.turbine
  • org.apache.turbine.services
  • org.apache.turbine.util

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.