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.apache.jcs 1 0 1 0 5 0 100% 0%
org.apache.jcs.access 2 0 2 2 10 0 83% 17%
org.apache.jcs.access.behavior 2 2 0 1 4 1 80% 80%
org.apache.jcs.access.exception 8 0 8 7 2 0 22% 78%
org.apache.jcs.access.monitor 2 0 2 0 7 0 100% 0%
org.apache.jcs.admin.servlet 5 0 5 0 11 0 100% 0%
org.apache.jcs.auxiliary 4 4 0 11 5 1 31% 31%
org.apache.jcs.auxiliary.behavior 3 3 0 2 3 1 60% 60%
org.apache.jcs.auxiliary.disk 4 1 3 3 8 0.25 73% 2%
org.apache.jcs.auxiliary.disk.hsql 4 0 4 0 11 0 100% 0%
org.apache.jcs.auxiliary.disk.hsql.behavior 2 2 0 0 4 1 100% 100%
org.apache.jcs.auxiliary.disk.indexed 7 0 7 0 11 0 100% 0%
org.apache.jcs.auxiliary.disk.jisp 5 0 5 0 10 0 100% 0%
org.apache.jcs.auxiliary.di sk.jisp.behavior 2 2 0 0 4 1 100% 100%
org.apache.jcs.auxiliary.lateral 13 0 13 1 12 0 92% 8%
org.apache.jcs.auxiliary.lateral.behavior 4 4 0 2 5 1 71% 71%
org.apache.jcs.auxiliary.lateral.socket.tcp 5 0 5 1 12 0 92% 8%
org.apache.jcs.auxiliary.lateral.socket.tcp.utils 1 0 1 1 3 0 75% 25%
org.apache.jcs.auxiliary.remote 16 0 16 1 13 0 93% 7%
org.apache.jcs.auxiliary.remote.behavior 7 6 1 3 7 0.86 70% 56%
org.apache.jcs.auxiliary.remote.server 10 0 10 0 15 0 100% 0%
org.apache.jcs.auxiliary.remote.server.behavior 1 1 0 1 2 1 67% 67%
org.apache.jcs.config 3 0 3 1 5 0 83% 17%
org.apache.jcs.engine 23 2 21 10 7 0.09 41% 50%
org.apache.jcs.engine.behavior 14 14 0 26 5 1 16% 16%
org.apache.jcs.engine.control 3 0 3 17 15 0 47% 53%
org.apache.jcs.engine.control.event 7 1 6 2 5 0.14 71% 14%
org.apache.jcs.engine.control.event.behavior 4 4 0 5 2 1 29% 29%
org.apache.jcs.engine.control.group 2 0 2 6 2 0 25% 75%
org.apache.jcs.engine.memory 2 2 0 5 8 1 62% 62%
org.apache.jcs.engine.memory.behavior 1 1 0 0 5 1 100% 100%
org.apache.jcs.engine.memory.lru 5 0 5 1 9 0 90% 10%
org.apache.jcs.engine.memory.mru 1 0 1 0 8 0 100% 0%
org.apache.jcs.engine.memory.shrinking 1 0 1 1 9 0 90% 10%
org.apache.jcs.utils.config 3 1 2 1 4 0.33 80% 13%
org.apache.jcs.utils.data 3 0 3 1 3 0 75% 25%
org.apache.jcs.utils.locking 4 0 4 2 3 0 60% 40%
org.apache.jcs.utils.servlet 1 0 1 0 6 0 100% 0%
org.apache.jcs.utils.servlet.session 9 1 8 0 9 0.11 100% 11%
org.apache.jcs.utils.threads 5 1 4 0 3 0.2 100% 20%

Packages

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

org.apache.jcs

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

java.lang

org.apache.jcs.access

org.apache.jcs.access.exception

org.apache.jcs.engine.behavior

org.apache.jcs.engine.control

org.apache.jcs.access.behavior

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 100% 80% 80%
Abstract Classes Concrete Classes Used by Packages Uses Packages
ICacheAccess

IGroupCacheAccess

org.apache.jcs.access

java.lang

java.util

org.apache.jcs.access.exception

org.apache.jcs.engine.behavior

org.apache.jcs.access.monitor

Afferent Couplings Efferent Coupli ngs Abstractness Instability Distance
0 7 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
MonitorAccess

MonitorXMLRPCServer

java.io

java.lang

java.util

org.apache.commons.logging

org.apache.jcs.engine.behavior

org.apache.jcs.engine.control

org.apache.xmlrpc

org.apache.jcs.auxiliary.disk.hsql.behavior

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

IHSQLCacheService

java.io

java.lang

org.apache.jcs.auxiliary.behavior

org.apache.jcs.engine.behavior

org.apache.jcs.auxiliary.disk.jisp.behavior

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

IJISPCacheService

java.io

java.lang

org.apache.jcs.auxiliary.behavior

org.apache.jcs.engine.behavior

org.apache.jcs.auxiliary.lateral.socket.tcp.utils

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

org.apache.jcs.auxiliary.lateral.socket.tcp

java.io

java.lang

java.net

org.apache.jcs.auxiliary.remote.server.behavior

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 100% 67% 67%
Abstract Classes Concrete Classes Used by Packages Uses Packages
IRemoteCacheServerAttributes

org.apache.jcs.auxiliary.remote.server

java.lang

org.apache.jcs.auxiliary

org.apache.jcs.config

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

PropertySetter

PropertySetterException

org.apache.jcs.engine.control

java.beans

java.lang

java.lang.reflect

java.util

org.apache.commons.logging

org.apache.jcs.engine.memory.behavior

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

java.io

java.lang

java.util

org.apache.jcs.engine.behavior

org.apache.jcs.engine.control

org.apache.jcs.utils.config

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 33% 80% 13%
Abstract Classes Concrete Classes Used by Packages Uses Packages
IUtilConstants

IUtilConstants$1

IUtilConstants$Config

org.apache.jcs.utils.servlet

java.io

java.lang

java.util

org.apache.commons.logging

org.apache.jcs.utils.data

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

PropertyGroups$PropertyKeysEnum

PropertyGroups$SimpleKeysEnum

org.apache.jcs.auxiliary.disk.hsql

java.io

java.lang

java.util

org.apache.jcs.utils.locking

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 3 0% 60% 40%
Abstract Classes Concrete Classes Used by Packages Uses Packages
ReadWriteLock

ReadWriteLockManager

RwLockGC

RwLockHolder

org.apache.jcs.auxiliary.disk

org.apache.jcs.auxiliary.disk.indexed

java.lang

java.util

org.apache.commons.logging

org.apache.jcs.utils.servlet

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

java.io

java.lang

javax.servlet.http

org.apache.commons.logging

org.apache.jcs.utils.config

sun.misc

org.apache.jcs.utils.threads

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

ThreadPool

ThreadPool$ControlRunnable

ThreadPool$MonitorRunnable

ThreadPoolManager

java.lang

java.util

org.apache.commons.logging

Cycles

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

Package Cyclic Dependencies
org.apache.jcs org.apache.jcs.access

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.re mote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.access org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.access.monitor org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.admin.servlet org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.disk org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.disk.hsql org .apache.jcs.auxiliary.disk

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.disk.indexed org.apache.jcs.auxiliary.disk

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.disk.jisp org.apache.jcs.auxiliary.disk

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.lateral org.apache.jcs.auxiliary.lateral.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.lateral.behavior org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.lateral.socket.tcp org.apache.jcs.auxiliary.lateral

org.apache.jcs.auxiliary.lateral.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.auxiliary.remote org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary.remote.behavior org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary.remote.server org.apache.jcs.auxiliary.remote

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary.remote.server.behavior org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.engine.memory org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.engine.memory.behavior org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.engine.memory.lru org.apache.jcs.engine.memory

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.engine.memory.mru org.apache.jcs.engine.memory

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.engine.memory.shrinking org.apache.jcs.engine.memory

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

org.apache.jcs.utils.servlet.session org.apache.jcs.access

org.apache.jcs.engine.control

org.apache.jcs.auxiliary.remote.behavior

org.apache.jcs.auxiliary

org.apache.jcs.engine.control

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 anal yzed 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.