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
info.magnolia.module.workflow 5 5 0 4 19 0.0% 83.0% 17.0% 1
info.magnolia.module.workflow.beancoder 1 1 0 1 4 0.0% 80.0% 20.0% 1
info.magnolia.module.workflow.commands 4 4 0 1 16 0.0% 94.0% 6.0% 1
info.magnolia.module.workflow.commands.flow 1 1 0 0 3 0.0% 100.0% 0.0% 1
info.magnolia.module.workflow.flows 3 2 1 3 15 33.0% 83.0% 17.0% 1
info.magnolia.module.workflow.inbox 14 13 1 0 24 7.0% 100.0% 7.0% 1
info.magnolia.module.workflow.jcr 8 8 0 2 31 0.0% 94.0% 6.0% 1
info.magnolia.module.workflow.pages 1 1 0 0 12 0.0% 100.0% 0.0% 1
info.magnolia.module.workflow.setup 2 2 0 0 12 0.0% 100.0% 0.0% 1
info.magnolia.module.workflow.trees 2 2 0 1 6 0.0% 86.0% 14.0% 1

Packages

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

info.magnolia.module.workflow

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 19 0.0% 83.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.module.workflow.MgnlParticipant
info.magnolia.module.workflow.WorkItemContext
info.magnolia.module.workflow.WorkflowConstants
info.magnolia.module.workflow.WorkflowModule
info.magnolia.module.workflow.WorkflowUtil
info.magnolia.module.workflow.commands
info.magnolia.module.workflow.inbox
info.magnolia.module.workflow.jcr
info.magnolia.module.workflow.pages
info.magnolia.cms.security
info.magnolia.cms.util
info.magnolia.commands
info.magnolia.context
info.magnolia.module
info.magnolia.module.workflow.flows
info.magnolia.module.workflow.jcr
info.magnolia.objectfactory
java.lang
java.util
openwfe.org
openwfe.org.embed.impl.engine
openwfe.org.engine.expressions
openwfe.org.engine.impl.expool
openwfe.org.engine.workitem
openwfe.org.worklist.store
org.apache.commons.chain
org.apache.commons.lang
org.slf4j

info.magnolia.module.workflow.beancoder

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 0.0% 80.0% 20.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.module.workflow.beancoder.OwfeJcrBeanCoder
info.magnolia.module.workflow.jcr
java.lang
openwfe.org.engine.workitem
openwfe.org.jcr
openwfe.org.jcr.beancoder

info.magnolia.module.workflow.commands

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 16 0.0% 94.0% 6.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.module.workflow.commands.ActivationFlowCommand
info.magnolia.module.workflow.commands.FlowCommand
info.magnolia.module.workflow.commands.PathMappedFlowCommand
info.magnolia.module.workflow.commands.PathMappedFlowCommand$Mapping
info.magnolia.module.workflow.commands.flow
info.magnolia.cms.core
info.magnolia.cms.security
info.magnolia.cms.util
info.magnolia.commands
info.magnolia.context
info.magnolia.module.workflow
info.magnolia.module.workflow.flows
java.io
java.lang
java.text
java.util
javax.jcr
openwfe.org.engine.workitem
org.apache.commons.lang
org.apache.commons.lang.time
org.slf4j

info.magnolia.module.workflow.commands.flow

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 info.magnolia.module.workflow.commands.flow.ActivationFlowCommand
None info.magnolia.module.workflow.commands
java.lang
org.slf4j

info.magnolia.module.workflow.flows

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 15 33.0% 83.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.module.workflow.flows.FlowDefinitionManager
info.magnolia.module.workflow.flows.DefaultFlowDefinitionManager
info.magnolia.module.workflow.flows.FlowDefinitionException
info.magnolia.module.workflow
info.magnolia.module.workflow.commands
info.magnolia.module.workflow.pages
info.magnolia.cms.core
info.magnolia.cms.util
info.magnolia.context
java.io
java.lang
java.net
java.text
java.util
javax.jcr
javax.servlet.http
openwfe.org.engine.workitem
org.apache.commons.lang
org.jdom
org.jdom.input
org.slf4j

info.magnolia.module.workflow.inbox

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 24 7.0% 100.0% 7.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
info.magnolia.module.workflow.inbox.InboxShowFunction
info.magnolia.module.workflow.inbox.Inbox
info.magnolia.module.workflow.inbox.Inbox$1
info.magnolia.module.workflow.inbox.Inbox$2
info.magnolia.module.workflow.inbox.Inbox$3
info.magnolia.module.workflow.inbox.Inbox$4
info.magnolia.module.workflow.inbox.InboxHelper
info.magnolia.module.workflow.inbox.InboxListModel
info.magnolia.module.workflow.inbox.InboxValueProvider
info.magnolia.module.workflow.inbox.SubPagesControl
info.magnolia.module.workflow.inbox.SubPagesList
info.magnolia.module.workflow.inbox.SubPagesList$1
info.magnolia.module.workflow.inbox.SubPagesList$2
info.magnolia.module.workflow.inbox.SubPagesList$SubPage
None info.magnolia.cms.beans.config
info.magnolia.cms.core
info.magnolia.cms.gui.control
info.magnolia.cms.gui.controlx.list
info.magnolia.cms.gui.dialog
info.magnolia.cms.i18n
info.magnolia.cms.security
info.magnolia.cms.util
info.magnolia.context
info.magnolia.freemarker
info.magnolia.module
info.magnolia.module.admininterface.lists
info.magnolia.module.workflow
info.magnolia.objectfactory
java.io
java.lang
java.text
java.util
javax.jcr
javax.servlet.http
openwfe.org.engine.expressions
openwfe.org.engine.workitem
org.apache.commons.lang
org.slf4j

info.magnolia.module.workflow.jcr

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 31 0.0% 94.0% 6.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.module.workflow.jcr.JCRExpressionStore
info.magnolia.module.workflow.jcr.JCRExpressionStore$1
info.magnolia.module.workflow.jcr.JCRExpressionStore$2
info.magnolia.module.workflow.jcr.JCRExpressionStore$3
info.magnolia.module.workflow.jcr.JCRExpressionStore$4
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator
info.magnolia.module.workflow.jcr.JCRPersistedEngine
info.magnolia.module.workflow.jcr.JCRWorkItemStore
info.magnolia.module.workflow
info.magnolia.module.workflow.pages
info.magnolia.beancoder
info.magnolia.cms.core
info.magnolia.cms.core.search
info.magnolia.cms.security
info.magnolia.cms.util
info.magnolia.context
info.magnolia.module
info.magnolia.module.workflow
info.magnolia.module.workflow.beancoder
info.magnolia.objectfactory
java.lang
java.util
javax.jcr
javax.jcr.query
openwfe.org
openwfe.org.embed.impl.engine
openwfe.org.engine
openwfe.org.engine.expool
openwfe.org.engine.expressions
openwfe.org.engine.expressions.raw
openwfe.org.engine.impl.expool
openwfe.org.engine.participants
openwfe.org.engine.workitem
openwfe.org.util.beancoder
openwfe.org.worklist.store
openwfe.org.xml
org.apache.commons.lang
org.apache.jackrabbit.commons.iterator
org.apache.jackrabbit.commons.predicate
org.jdom.input
org.slf4j

info.magnolia.module.workflow.pages

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.module.workflow.pages.WorkflowUtilPage
None info.magnolia.cms.core
info.magnolia.context
info.magnolia.module.admininterface
info.magnolia.module.workflow
info.magnolia.module.workflow.flows
info.magnolia.module.workflow.jcr
java.lang
java.sql
java.util
javax.servlet.http
org.apache.commons.lang
org.slf4j

info.magnolia.module.workflow.setup

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.module.workflow.setup.InstallWorkflowDefinitionTask
info.magnolia.module.workflow.setup.WorkflowModuleVersionHandler
None info.magnolia.cms.core
info.magnolia.cms.util
info.magnolia.module
info.magnolia.module.admininterface.setup
info.magnolia.module.admininterface.trees
info.magnolia.module.delta
info.magnolia.module.workflow.trees
java.io
java.lang
java.util
javax.jcr
org.apache.commons.io

info.magnolia.module.workflow.trees

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 0.0% 86.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None info.magnolia.module.workflow.trees.WorkflowTreeConfiguration
info.magnolia.module.workflow.trees.WorkflowWebsiteTreeConfiguration
info.magnolia.module.workflow.setup
info.magnolia.cms.core
info.magnolia.cms.gui.control
info.magnolia.module.admininterface.trees
java.lang
javax.servlet.http
org.slf4j

Cycles

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

Package Package Dependencies
info.magnolia.module.workflow info.magnolia.module.workflow.jcr
info.magnolia.module.workflow
info.magnolia.module.workflow.commands info.magnolia.module.workflow
info.magnolia.module.workflow.jcr
info.magnolia.module.workflow
info.magnolia.module.workflow.commands.flow info.magnolia.module.workflow.commands
info.magnolia.module.workflow
info.magnolia.module.workflow.jcr
info.magnolia.module.workflow
info.magnolia.module.workflow.inbox info.magnolia.module.workflow
info.magnolia.module.workflow.jcr
info.magnolia.module.workflow
info.magnolia.module.workflow.jcr info.magnolia.module.workflow
info.magnolia.module.workflow.jcr
info.magnolia.module.workflow.pages info.magnolia.module.workflow
info.magnolia.module.workflow.jcr
info.magnolia.module.workflow

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.