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
tinlizard.annotation.security 2 0 2 1 2 100.0% 67.0% 67.0% 1
tinlizard.dao 3 0 3 4 7 100.0% 64.0% 64.0% 1
tinlizard.dao.io 2 1 1 0 8 50.0% 100.0% 50.0% 1
tinlizard.dao.jpa 4 2 2 2 10 50.0% 83.0% 33.0% 1
tinlizard.dao.maven 2 1 1 0 19 50.0% 100.0% 50.0% 1
tinlizard.dataload 3 2 1 1 3 33.0% 75.0% 8.0% 1
tinlizard.model 14 11 3 5 13 21.0% 72.0% 6.0% 1
tinlizard.util 4 3 1 4 8 25.0% 67.0% 8.0% 1
tinlizard.web 23 20 3 0 27 13.0% 100.0% 13.0% 1

Packages

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

tinlizard.annotation.security

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 100.0% 67.0% 67.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.annotation.security.RolesAllowed
tinlizard.annotation.security.package-info
None tinlizard.web
java.lang
java.lang.annotation

tinlizard.dao

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 7 100.0% 64.0% 64.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.dao.MashDao
tinlizard.dao.ScmDao
tinlizard.dao.package-info
None tinlizard.dao.io
tinlizard.dao.maven
tinlizard.model
tinlizard.web
java.io
java.lang
java.util
org.apache.maven.model
org.apache.maven.scm
org.apache.maven.scm.command.status
tinlizard.model

tinlizard.dao.io

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 8 50.0% 100.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.dao.io.package-info
tinlizard.dao.io.MashDaoImpl
None freemarker.template
java.io
java.lang
java.util
org.apache.commons.lang
org.apache.log4j
tinlizard.dao
tinlizard.util

tinlizard.dao.jpa

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 10 50.0% 83.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.dao.jpa.Persistable
tinlizard.dao.jpa.package-info
tinlizard.dao.jpa.JpaDao
tinlizard.dao.jpa.JpaFilter
tinlizard.dataload
tinlizard.model
java.io
java.lang
java.util
javax.persistence
javax.servlet
org.apache.log4j
org.apache.lucene.analysis.standard
org.apache.lucene.queryParser
org.hibernate.search.jpa
tinlizard.model

tinlizard.dao.maven

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 19 50.0% 100.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.dao.maven.package-info
tinlizard.dao.maven.ScmDaoImpl
None java.io
java.lang
java.util
org.apache.log4j
org.apache.maven.model
org.apache.maven.model.io.xpp3
org.apache.maven.scm
org.apache.maven.scm.command.changelog
org.apache.maven.scm.command.checkout
org.apache.maven.scm.command.status
org.apache.maven.scm.manager
org.apache.maven.scm.provider
org.apache.maven.scm.provider.cvslib
org.apache.maven.scm.repository
org.codehaus.plexus.util
org.codehaus.plexus.util.xml.pull
tinlizard.dao
tinlizard.model
tinlizard.util

tinlizard.dataload

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 33.0% 75.0% 8.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.dataload.package-info
tinlizard.dataload.Data
tinlizard.dataload.DataLoader
tinlizard.web
java.lang
tinlizard.dao.jpa
tinlizard.model

tinlizard.model

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 13 21.0% 72.0% 6.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.model.TinLizardConfigMBean
tinlizard.model.TinLizardMBean
tinlizard.model.package-info
tinlizard.model.Codeline
tinlizard.model.CurrentUser
tinlizard.model.CurrentUser$ThreadLocalUser
tinlizard.model.Dependency
tinlizard.model.Policy
tinlizard.model.Project
tinlizard.model.QueryNames
tinlizard.model.TinLizard
tinlizard.model.TinLizardConfig
tinlizard.model.User
tinlizard.model.View
tinlizard.dao
tinlizard.dao.jpa
tinlizard.dao.maven
tinlizard.dataload
tinlizard.web
java.lang
java.lang.management
java.text
java.util
javax.management
javax.persistence
org.apache.log4j
org.apache.maven.model
org.apache.maven.scm
org.codehaus.plexus.util
tinlizard.dao
tinlizard.dao.jpa
tinlizard.util

tinlizard.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 8 25.0% 67.0% 8.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.util.package-info
tinlizard.util.JndiUtil
tinlizard.util.Messages
tinlizard.util.ProfilerAspect
tinlizard.dao.io
tinlizard.dao.maven
tinlizard.model
tinlizard.web
java.lang
java.lang.reflect
java.util
javax.naming
org.apache.log4j
org.aspectj.lang
org.aspectj.lang.reflect
org.jvnet.localizer

tinlizard.web

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 27 13.0% 100.0% 13.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
tinlizard.web.ObjectCollectionWeb
tinlizard.web.ObjectWeb
tinlizard.web.package-info
tinlizard.web.ArtifactWeb
tinlizard.web.CodelineCollectionWeb
tinlizard.web.CodelineWeb
tinlizard.web.DependencyCollectionWeb
tinlizard.web.DependencyWeb
tinlizard.web.GroupWeb
tinlizard.web.LocalizationFilter
tinlizard.web.MashInTag
tinlizard.web.PolicyCollectionWeb
tinlizard.web.PolicyWeb
tinlizard.web.ProjectCollectionWeb
tinlizard.web.ProjectWeb
tinlizard.web.RoleNames
tinlizard.web.RolesAllowedAspect
tinlizard.web.TinLizardWeb
tinlizard.web.UserCollectionWeb
tinlizard.web.UserWeb
tinlizard.web.ViewCollectionWeb
tinlizard.web.ViewWeb
tinlizard.web.WebAppMain
None java.io
java.lang
java.lang.reflect
java.security
java.util
javax.servlet
javax.servlet.http
javax.servlet.jsp
javax.servlet.jsp.tagext
org.apache.commons.lang
org.apache.log4j
org.aspectj.lang
org.aspectj.lang.reflect
org.aspectj.runtime.internal
org.aspectj.runtime.reflect
org.codehaus.plexus
org.codehaus.plexus.component.repository.exception
org.codehaus.plexus.util
org.jvnet.localizer
org.kohsuke.stapler
org.kohsuke.stapler.export
org.kohsuke.stapler.framework
tinlizard.annotation.security
tinlizard.dao
tinlizard.dataload
tinlizard.model
tinlizard.util

Cycles

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

Package Package Dependencies
tinlizard.dao tinlizard.model
tinlizard.dao
tinlizard.dao.io tinlizard.dao
tinlizard.model
tinlizard.dao
tinlizard.dao.jpa tinlizard.model
tinlizard.dao
tinlizard.model
tinlizard.dao.maven tinlizard.dao
tinlizard.model
tinlizard.dao
tinlizard.dataload tinlizard.model
tinlizard.dao
tinlizard.model
tinlizard.model tinlizard.dao
tinlizard.model
tinlizard.web tinlizard.model
tinlizard.dao
tinlizard.model

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.