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
com.gridsystems.resource 4 4 0 1 17 0.0% 94.0% 6.0% 1
com.gridsystems.resource.api 16 13 3 7 5 19.0% 42.0% 40.0% 1
com.gridsystems.resource.events 6 4 2 2 7 33.0% 78.0% 11.0% 1
com.gridsystems.resource.filtermanager 2 0 2 3 6 100.0% 67.0% 67.0% 1
com.gridsystems.resource.internal 15 15 0 2 24 0.0% 92.0% 8.0% 1
com.gridsystems.resource.internal.storage 2 2 0 1 5 0.0% 83.0% 17.0% 1
com.gridsystems.resource.internal.timeutils 1 1 0 1 5 0.0% 83.0% 17.0% 1
com.gridsystems.resource.internal.utils 5 5 0 2 12 0.0% 86.0% 14.0% 1

Packages

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

com.gridsystems.resource

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 17 0.0% 94.0% 6.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.gridsystems.resource.ResourcePlugin
com.gridsystems.resource.ResourcePlugin$1
com.gridsystems.resource.ResourcePlugin$CheckACLAction
com.gridsystems.resource.ResourcePlugin$DirectoryInitAction
com.gridsystems.resource.internal
com.gridsystems.innergrid.kernel
com.gridsystems.innergrid.kernel.api
com.gridsystems.innergrid.kernel.event
com.gridsystems.innergrid.kernel.ixos
com.gridsystems.innergrid.kernel.ixos.filesystem.api
com.gridsystems.innergrid.kernel.ixos.usersystem
com.gridsystems.innergrid.kernel.ixos.usersystem.api
com.gridsystems.innergrid.kernel.plugin
com.gridsystems.innergrid.kernel.server
com.gridsystems.resource.api
com.gridsystems.resource.events
com.gridsystems.resource.filtermanager
com.gridsystems.resource.internal
com.gridsystems.resource.internal.utils
java.lang
java.rmi
org.apache.log4j

com.gridsystems.resource.api

Afferent Couplings Efferent Couplings Abstractness Instability Distance
7 5 19.0% 42.0% 40.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
com.gridsystems.resource.api.ApiResourceGroup
com.gridsystems.resource.api.ApiResourceManager
com.gridsystems.resource.api.ApiResourceQuery
com.gridsystems.resource.api.CAStatus
com.gridsystems.resource.api.CPU
com.gridsystems.resource.api.CPUId
com.gridsystems.resource.api.Group
com.gridsystems.resource.api.OS
com.gridsystems.resource.api.Resource
com.gridsystems.resource.api.ResourceAssignment
com.gridsystems.resource.api.ResourceId
com.gridsystems.resource.api.ResourceProperties
com.gridsystems.resource.api.ResourceStateCount
com.gridsystems.resource.api.ResourceUsage
com.gridsystems.resource.api.Time
com.gridsystems.resource.api.TimeInterval
com.gridsystems.resource
com.gridsystems.resource.events
com.gridsystems.resource.filtermanager
com.gridsystems.resource.internal
com.gridsystems.resource.internal.storage
com.gridsystems.resource.internal.timeutils
com.gridsystems.resource.internal.utils
com.gridsystems.innergrid.api
com.gridsystems.innergrid.kernel.services
java.lang
java.math
java.rmi

com.gridsystems.resource.events

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 7 33.0% 78.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
com.gridsystems.resource.events.GroupListener
com.gridsystems.resource.events.ResourceListener
com.gridsystems.resource.events.GroupEvent
com.gridsystems.resource.events.GroupListenerAdapter
com.gridsystems.resource.events.ResourceEvent
com.gridsystems.resource.events.ResourceListenerAdapter
com.gridsystems.resource
com.gridsystems.resource.internal
com.gridsystems.innergrid.kernel
com.gridsystems.innergrid.kernel.event
com.gridsystems.innergrid.kernel.genericutils
com.gridsystems.resource.api
java.lang
java.util
org.apache.log4j

com.gridsystems.resource.filtermanager

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 6 100.0% 67.0% 67.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
com.gridsystems.resource.filtermanager.FilterEvaluator
com.gridsystems.resource.filtermanager.ResourceFilterManager
None com.gridsystems.resource
com.gridsystems.resource.internal
com.gridsystems.resource.internal.utils
com.gridsystems.beanfilter
com.gridsystems.innergrid.kernel
com.gridsystems.resource.api
java.lang
java.math
java.rmi

com.gridsystems.resource.internal

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 com.gridsystems.resource.internal.ApiResourceGroupImpl
com.gridsystems.resource.internal.ApiResourceManagerImpl
com.gridsystems.resource.internal.ApiResourceQueryImpl
com.gridsystems.resource.internal.ApiResourceQueryImpl$ResourceComparator
com.gridsystems.resource.internal.FilterManagers
com.gridsystems.resource.internal.FilterManagers$DefaultFilterEvaluator
com.gridsystems.resource.internal.FilterManagers$DefaultFilterManager
com.gridsystems.resource.internal.GroupAclListener
com.gridsystems.resource.internal.GroupChecker
com.gridsystems.resource.internal.GroupHolder
com.gridsystems.resource.internal.GroupList
com.gridsystems.resource.internal.ResourceChecker
com.gridsystems.resource.internal.ResourceEventUtils
com.gridsystems.resource.internal.ResourceHolder
com.gridsystems.resource.internal.ResourceList
com.gridsystems.resource
com.gridsystems.resource.internal.utils
com.gridsystems.beanfilter
com.gridsystems.exceptions
com.gridsystems.innergrid.kernel
com.gridsystems.innergrid.kernel.event
com.gridsystems.innergrid.kernel.genericutils
com.gridsystems.innergrid.kernel.ixos
com.gridsystems.innergrid.kernel.ixos.filesystem
com.gridsystems.innergrid.kernel.ixos.usersystem
com.gridsystems.innergrid.kernel.ixos.usersystem.api
com.gridsystems.innergrid.kernel.server
com.gridsystems.resource
com.gridsystems.resource.api
com.gridsystems.resource.events
com.gridsystems.resource.filtermanager
com.gridsystems.resource.internal.storage
com.gridsystems.resource.internal.timeutils
com.gridsystems.resource.internal.utils
com.skaringa.javaxml
java.io
java.lang
java.math
java.rmi
java.util
org.apache.log4j

com.gridsystems.resource.internal.storage

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0.0% 83.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.gridsystems.resource.internal.storage.GroupDAO
com.gridsystems.resource.internal.storage.ResourceDAO
com.gridsystems.resource.internal
com.gridsystems.innergrid.kernel.ixos.filesystem
com.gridsystems.resource.api
java.lang
java.util
org.apache.log4j

com.gridsystems.resource.internal.timeutils

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0.0% 83.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.gridsystems.resource.internal.timeutils.TimeUtils
com.gridsystems.resource.internal
com.gridsystems.resource.api
java.io
java.lang
java.text
java.util

com.gridsystems.resource.internal.utils

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 12 0.0% 86.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None com.gridsystems.resource.internal.utils.CaseInsensitiveResourceIdComparator
com.gridsystems.resource.internal.utils.GetAllResourcesPagedRequest
com.gridsystems.resource.internal.utils.ResourceStats
com.gridsystems.resource.internal.utils.ResourceStats$CpuUsageThread
com.gridsystems.resource.internal.utils.ResourceStats$IpInfo
com.gridsystems.resource
com.gridsystems.resource.internal
com.gridsystems.beanfilter
com.gridsystems.innergrid.kernel
com.gridsystems.innergrid.kernel.genericutils
com.gridsystems.innergrid.kernel.ixos
com.gridsystems.innergrid.kernel.server
com.gridsystems.resource.api
com.gridsystems.resource.filtermanager
com.gridsystems.resource.internal
java.io
java.lang
java.util
org.apache.log4j

Cycles

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

Package Package Dependencies
com.gridsystems.resource com.gridsystems.resource.internal
com.gridsystems.resource
com.gridsystems.resource.internal com.gridsystems.resource
com.gridsystems.resource.internal
com.gridsystems.resource.internal.utils com.gridsystems.resource.internal
com.gridsystems.resource
com.gridsystems.resource.internal

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.