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 Total

Classes
Abstract

Classes
Concrete

Classes
Afferent

Couplings
Efferent

Couplings
Abstractness Instability Distance
org.smartcomps.twister.common.configuration 5 0 5 8 5 0 38% 62%
org.smartcomps.twister.common.event 3 1 2 2 5 0,33 71% 5%
org.smartcomps.twister.common.lifecycle 3 1 2 3 4 0,33 57% 10%
org.smartcomps.twister.common.persistence 8 0 8 20 18 0 47% 53%
org.smartcomps.twister.common.transaction 3 1 2 5 5 0,33 50% 17%
org.smartcomps.twister.common.util 2 0 2 3 4 0 57% 43%
org.smartcomps.twister.common.util.logger 1 0 1 5 2 0 29% 71%
org.smartcomps.twister.deployer 8 1 7 1 13 0,12 93% 5%
org.smartcomps.twister.deployer.exception 2 0 2 2 1 0 33% 67%
org.smartcomps.twister.deployer.priv 16 1 15 1 14 0,06 93% 0%
org.smartcomps.twister.engine 2 1 1 2 3 0,5 60% 10%
org.smartcomps.twister.engine.exception 12 0 12 12 1 0 8% 92%
org.smartcomps.twister.engine.mbean 1 1 0 0 3 1 100% 100%
org.smartcomps.twister.engine.priv 3 1 2 1 13 0,33 93% 26%
org.smartcomps.twister.engine.priv.core.definition 32 29 3 7 8 0,91 53% 44%
org.smartcomps.twister.engine.priv.core.definition.impl 25 3 22 6 7 0,12 54% 34%
org.smartcomps.twister.engine.priv.core.definition.impl.dao 3 0 3 1 6 0 86% 14%
org.smartcomps.twister.engine.priv.core.dynamic 20 18 2 9 11 0,9 55% 45%
org.smartcomps.twister.engine.priv.core.dynamic.impl 18 3 15 2 15 0,17 88% 5%
org.smartcomps.twister.engine.priv.core.dynamic.impl.dao 2 0 2 1 6 0 86% 14%
org.smartcomps.twister.engine.priv.core.dynamic.impl.xao 2 0 2 3 6 0 67% 33%
org.smartcomps.twister.engine.priv.expression 2 1 1 2 5 0,5 71% 21%
org.smartcomps.twister.engine.priv.expression.impl 1 0 1 1 14 0 93% 7%
org.smartcomps.twister.engine.priv.messaging 3 2 1 3 10 0,67 77% 44%
org.smartcomps.twister.engine.priv.messaging.impl 5 0 5 2 13 0 87% 13%
org.smartcomps.twister.engine.priv.timer 4 1 3 1 11 0,25 92% 17%
org.smartcomps.twister.engine.priv.timer.dao 1 0 1 1 5 0 83% 17%
org.smartcomps.twister.engine.priv.timer.po 1 0 1 2 2 0 50% 50%
org.smartcomps.twister.engine.priv.util 1 0 1 2 6 0 75% 25%
org.smartcomps.twister.util.db 1 0 1 0 5 0 100% 0%
org.smartcomps.twister.util.user 5 1 4 1 5 0,2 83% 3%
org.smartcomps.twister.util.user.exception 1 0 1 2 1 0 33% 67%
org.smartcomps.twister.util.user.priv 5 0 5 2 6 0 75% 25%
org.smartcomps.twister.util.user.priv.dao 1 0 1 1 5 0 83% 17%
org.smartcomps.twister.worklist 3 2 1 3 6 0,67 67% 33%
org.smartcomps .twister.worklist.exception 2 0 2 3 1 0 25% 75%
org.smartcomps.twister.worklist.priv 1 0 1 1 16 0 94% 6%
org.smartcomps.twister.worklist.priv.dao 1 0 1 1 5 0 83% 17%
org.smartcomps.twister.worklist.priv.po 1 0 1 1 3 0 75% 25%

Packages

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

org.smartcomps.twister.common.persistence

Afferent Couplings Efferent Couplings Abstractness Instability Distance
20 18 0% 47% 53%
Abstract Classes Concrete Classes Used by Packages Uses Packages
CreationException

DBSessionException

DBSessionManager

FinderException

PersistentDataAccess

XMLDataAccess

XMLSessionException

XMLSessionManager

org.smartcomps.twister.deployer.priv

org.smartcomps.twister.engine.priv

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.definition.impl

org.smartcomps.twister.engine.priv.core.definition.impl.dao

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.dynamic.impl

org.smartcomps.twister.engine.priv.core.dynamic.impl.dao

org.smartcomps.twister.engine.priv.core.dynamic.impl.xao

org.smartcomps.twister.engine.priv.expression.impl

org.smartcomps.twister.engine.priv.messaging

org.smartcomps.twister.engine.priv.messaging.impl

org.smartcomps.twister.engine.priv.timer

org.smartcomps.twister.engine.priv.timer.dao

org.smartcomps.twister.util.user

org.smartcomps.twister.util.user.priv

org.smartcomps.twister.util.user.priv.dao

org.smartcomps.twister.worklist

org.smartcomps.twister.worklist.priv

org.smartcomps.twister.worklist.priv.dao

java.lang

java.text

java.util

net.sf.hibernate

net.sf.hibernate.cfg

org.apache.commons.logging

org.apache.xindice.client.xmldb.services

org.apache.xindice.util

org.apache.xindice.xml.dom

org.dom4j

org.dom4j.io

org.smartcomps.twister.common.configuration

org.smartcomps.twister.common.transaction

org.smartcomps.twister.engine.exception

org.w3c.dom

org.xmldb.api

org.xmldb.api.base

org.xmldb.api.modules

org.smartcomps.twister.deployer.exception

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 1 0% 33% 67%
Abstract Classes Concrete Classes Used by Packages Uses Packages
DeploymentException

DocumentParsingException

org.smartcomps.twister.deployer

org.smartcomps.twister.deployer.priv

java.lang

org.smartcomps.twister.engine

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 3 50% 60% 10%
Abstract Classes Concrete Classes Used by Packages Uses Packages
TwisterEngine

TwisterEngineFactory

org.smartcomps.twister.engine.priv

org.smartcomps.twister.worklist.priv

java.lang

org.dom4j

org.smartcomps.twister.engine.priv

org.smartcomps.twister.engine.mbean

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

java.lang

java.util

org.w3c.dom

org.smartcomps.twister.engine.priv.timer.po

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

org.smartcomps.twister.engine.priv.timer

org.smartcomps.twister.engine.priv.timer.dao

java.lang

java.util

org.smartcomps.twister.util.db

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

java.lang

net.sf.hibernate

net.sf.hibernate.cfg

net.sf.hibernate.tool.hbm2ddl

org.apache.commons.lang.exception

org.smartcomps.twister.util.user.exception

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 1 0% 33% 67%
Abstract Classes Concrete Classes Used by Packages Uses Packages
TwisterUserException

org.smartcomps.twister.util.user

org.smartcomps.twister.util.user.priv

java.lang

org.smartcomps.twister.util.user.priv.dao

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
UserDAO

org.smartcomps.twister.util.user.priv

java.lang

java.util

net.sf.hibernate

org.smartcomps.twister.common.persistence

org.smartcomps.twister.util.user.priv

org.smartcomps.twister.worklist.exception

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

WorkListException

org.smartcomps.twister.engine.priv.messaging

org.smartcomps.twister.worklist

org.smartcomps.twister.worklist.priv

java.lang

org.smartcomps.twister.worklist.priv.dao

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
WorkItemDAO

org.smartcomps.twister.worklist.priv

java.lang

java.util

net.sf.hibernate

org.apache.commons.logging

org.smartcomps.twister.common.persistence

org.smartcomps.twister.worklist.priv.po

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

org.smartcomps.twister.worklist.priv

java.lang

java.util

org.smartcomps.twister.worklist

Cycles

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

Package Cyclic Dependencies
org.smartcomps.twister.deployer org.smartcomps.twister.deployer.priv

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.deployer.priv org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine org.smart comps.twister.engine.priv

org.smartcomps.twister.engine.priv.messaging.impl

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv org.smartcomps.twister.engine.priv.messaging.impl

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.definition.impl org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition.impl.dao org.smartcomps.twister.engine.priv.core.definition.impl

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.dynamic org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.dynamic.impl org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.dynamic.impl.dao org.smartcomps.twister.engine.priv.core.dynamic.impl

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.expression org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.expression.impl org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.messaging org.smartcomps.twister.worklist

org.smartcomps.twister.wo rklist.priv

org.smartcomps.twister.worklist.priv.po

org.smartcomps.twister.worklist

org.smartcomps.twister.engine.priv.messaging.impl org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.timer org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.util org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.engine.priv.core.dynamic

org.smartcomps.twister.engine.priv.core.definition

org.smartcomps.twister.util.user org.smartcomps.twister.util.user.priv

org.smartcomps.twister.util.user.priv.dao

org.smartcomps.twister.util.user.priv

org.smartcomps.twister.util.user.priv org.smartcomps.twister.util.user.priv.dao

org.smartcomps.twister.util.user.priv

org.smartcomps.twister.util.user.priv.dao org.smartcomps.twister.util.user.priv

org.smartcomps.twister.util.user.priv.dao

org.smartcomps.twister.worklist org.smartcomps.twister.worklist.priv

org.smartcomps.twister.worklist.priv.po

org.smartcomps.twister.worklist

org.smartcomps.twister.worklist.priv org.smartcomps.twister.worklist.priv.po

org.smartcomps.twister.worklist

org.smartcomps.twister.worklist.priv

org.smartcomps.twister.worklist.priv.po org.smartcomps.twister.worklist

org.smartcomps.twister.worklist.priv

org.smartcomps.twister.worklist.priv.po

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 r esponsibility.
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.