Apache Commons logo

Commons JCS™

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
org.apache.commons.jcs.jcache 26 26 0 2 24 0.0% 92.0% 8.0% 1
org.apache.commons.jcs.jcache.cdi 20 20 0 0 17 0.0% 100.0% 0.0% 1
org.apache.commons.jcs.jcache.jmx 7 7 0 1 8 0.0% 89.0% 11.0% 1
org.apache.commons.jcs.jcache.lang 5 4 1 1 3 20.0% 75.0% 5.0% 1
org.apache.commons.jcs.jcache.proxy 2 2 0 1 8 0.0% 89.0% 11.0% 1
org.apache.commons.jcs.jcache.serialization 1 1 0 1 2 0.0% 67.0% 33.0% 1
org.apache.commons.jcs.jcache.thread 1 1 0 1 3 0.0% 75.0% 25.0% 1

Packages

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

org.apache.commons.jcs.jcache

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 24 0.0% 92.0% 8.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.jcs.jcache.Asserts
org.apache.commons.jcs.jcache.EvictionListener
org.apache.commons.jcs.jcache.EvictionListener$1
org.apache.commons.jcs.jcache.ExpiryAwareCache
org.apache.commons.jcs.jcache.ImmutableIterable
org.apache.commons.jcs.jcache.ImmutableIterator
org.apache.commons.jcs.jcache.JCSCache
org.apache.commons.jcs.jcache.JCSCache$1
org.apache.commons.jcs.jcache.JCSCache$2
org.apache.commons.jcs.jcache.JCSCache$3
org.apache.commons.jcs.jcache.JCSCache$4
org.apache.commons.jcs.jcache.JCSCacheEntryEvent
org.apache.commons.jcs.jcache.JCSCachingManager
org.apache.commons.jcs.jcache.JCSCachingManager$InternalManager
org.apache.commons.jcs.jcache.JCSCachingManager$InternalManager$1
org.apache.commons.jcs.jcache.JCSCachingProvider
org.apache.commons.jcs.jcache.JCSConfiguration
org.apache.commons.jcs.jcache.JCSEntry
org.apache.commons.jcs.jcache.JCSListener
org.apache.commons.jcs.jcache.JCSMutableEntry
org.apache.commons.jcs.jcache.NoFilter
org.apache.commons.jcs.jcache.NoLoader
org.apache.commons.jcs.jcache.NoWriter
org.apache.commons.jcs.jcache.Statistics
org.apache.commons.jcs.jcache.TempStateCacheView
org.apache.commons.jcs.jcache.Times
org.apache.commons.jcs.jcache.jmx
org.apache.commons.jcs.jcache.proxy
java.io
java.lang
java.net
java.util
java.util.concurrent
java.util.concurrent.atomic
javax.cache
javax.cache.configuration
javax.cache.event
javax.cache.expiry
javax.cache.integration
javax.cache.processor
javax.cache.spi
javax.management
org.apache.commons.jcs.engine
org.apache.commons.jcs.engine.behavior
org.apache.commons.jcs.engine.control
org.apache.commons.jcs.engine.control.event.behavior
org.apache.commons.jcs.jcache.jmx
org.apache.commons.jcs.jcache.lang
org.apache.commons.jcs.jcache.proxy
org.apache.commons.jcs.jcache.serialization
org.apache.commons.jcs.jcache.thread
org.apache.commons.jcs.utils.serialization

org.apache.commons.jcs.jcache.cdi

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 17 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper
org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper$1
org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper$MethodKey
org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper$MethodMeta
org.apache.commons.jcs.jcache.cdi.CacheInvocationContextImpl
org.apache.commons.jcs.jcache.cdi.CacheInvocationParameterImpl
org.apache.commons.jcs.jcache.cdi.CacheKeyGeneratorImpl
org.apache.commons.jcs.jcache.cdi.CacheKeyInvocationContextImpl
org.apache.commons.jcs.jcache.cdi.CacheMethodDetailsImpl
org.apache.commons.jcs.jcache.cdi.CachePutInterceptor
org.apache.commons.jcs.jcache.cdi.CacheRemoveAllInterceptor
org.apache.commons.jcs.jcache.cdi.CacheRemoveInterceptor
org.apache.commons.jcs.jcache.cdi.CacheResolverFactoryImpl
org.apache.commons.jcs.jcache.cdi.CacheResolverImpl
org.apache.commons.jcs.jcache.cdi.CacheResultInterceptor
org.apache.commons.jcs.jcache.cdi.GeneratedCacheKeyImpl
org.apache.commons.jcs.jcache.cdi.MakeJCacheCDIInterceptorFriendly
org.apache.commons.jcs.jcache.cdi.MakeJCacheCDIInterceptorFriendly$HelperBean
org.apache.commons.jcs.jcache.cdi.MakeJCacheCDIInterceptorFriendly$HelperBean$1
org.apache.commons.jcs.jcache.cdi.MakeJCacheCDIInterceptorFriendly$HelperBean$2
None java.io
java.lang
java.lang.annotation
java.lang.reflect
java.util
java.util.concurrent
java.util.concurrent.atomic
java.util.logging
javax.cache
javax.cache.annotation
javax.cache.configuration
javax.cache.spi
javax.enterprise.context
javax.enterprise.context.spi
javax.enterprise.inject.spi
javax.enterprise.util
javax.interceptor

org.apache.commons.jcs.jcache.jmx

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 0.0% 89.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.jcs.jcache.jmx.ConfigurableMBeanServerIdBuilder
org.apache.commons.jcs.jcache.jmx.ConfigurableMBeanServerIdBuilder$1
org.apache.commons.jcs.jcache.jmx.ConfigurableMBeanServerIdBuilder$ForceIdMBeanServerDelegate
org.apache.commons.jcs.jcache.jmx.ConfigurableMBeanServerIdBuilder$Key
org.apache.commons.jcs.jcache.jmx.JCSCacheMXBean
org.apache.commons.jcs.jcache.jmx.JCSCacheStatisticsMXBean
org.apache.commons.jcs.jcache.jmx.JMXs
org.apache.commons.jcs.jcache
java.lang
java.lang.management
java.util.concurrent
javax.cache
javax.cache.configuration
javax.cache.management
javax.management
org.apache.commons.jcs.jcache

org.apache.commons.jcs.jcache.lang

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 20.0% 75.0% 5.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.commons.jcs.jcache.lang.Subsitutor
org.apache.commons.jcs.jcache.lang.DefaultSubsitutor
org.apache.commons.jcs.jcache.lang.Lang3Substitutor
org.apache.commons.jcs.jcache.lang.Lang3Substitutor$1
org.apache.commons.jcs.jcache.lang.Subsitutor$Helper
org.apache.commons.jcs.jcache
java.lang
java.util
org.apache.commons.lang3.text

org.apache.commons.jcs.jcache.proxy

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 0.0% 89.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.jcs.jcache.proxy.ClassLoaderAwareCache
org.apache.commons.jcs.jcache.proxy.ExceptionWrapperHandler
org.apache.commons.jcs.jcache
java.lang
java.lang.reflect
java.util
javax.cache
javax.cache.configuration
javax.cache.integration
javax.cache.processor
org.apache.commons.jcs.jcache

org.apache.commons.jcs.jcache.serialization

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 0.0% 67.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.jcs.jcache.serialization.Serializations
org.apache.commons.jcs.jcache
java.lang
org.apache.commons.jcs.engine.behavior

org.apache.commons.jcs.jcache.thread

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 0.0% 75.0% 25.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.commons.jcs.jcache.thread.DaemonThreadFactory
org.apache.commons.jcs.jcache
java.lang
java.util.concurrent
java.util.concurrent.atomic

Cycles

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

Package Package Dependencies
org.apache.commons.jcs.jcache org.apache.commons.jcs.jcache.proxy
org.apache.commons.jcs.jcache
org.apache.commons.jcs.jcache.jmx org.apache.commons.jcs.jcache
org.apache.commons.jcs.jcache.proxy
org.apache.commons.jcs.jcache
org.apache.commons.jcs.jcache.proxy org.apache.commons.jcs.jcache
org.apache.commons.jcs.jcache.proxy

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.