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 ]

PackageTCCCACCaCeAIDV
net.smartlab.web68521635224.0%95.0%18.0%1
net.smartlab.web.bean2522311112.0%92.0%4.0%1
net.smartlab.web.config63311050.0%91.0%41.0%1
net.smartlab.web.history62401067.0%100.0%67.0%1
net.smartlab.web.page2522311412.0%93.0%5.0%1
org.hibernate10146100.0%60.000004%60.000004%1
org.hibernate.impl2201110.0%92.0%8.0%1

Packages

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

net.smartlab.web

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
35224.0%95.0%18.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
net.smartlab.web.AbstractArchiveAction
net.smartlab.web.Action
net.smartlab.web.BusinessObject
net.smartlab.web.BusinessObjectFactory
net.smartlab.web.DataAccessObject
net.smartlab.web.DataTransferObject
net.smartlab.web.Domain
net.smartlab.web.DynaAction
net.smartlab.web.EnterpriseDomain
net.smartlab.web.EnterpriseDomain$Remote
net.smartlab.web.EnterpriseDomainTest$Mock$Home
net.smartlab.web.EnterpriseDomainTest$Mock$Interface
net.smartlab.web.Enumeration
net.smartlab.web.ManageableDomain
net.smartlab.web.PropertiesEnumeration
net.smartlab.web.StringEnumeration
net.smartlab.web.AbstractArchiveActionTest
net.smartlab.web.AbstractArchiveActionTest$Stub
net.smartlab.web.Action$1
net.smartlab.web.ActionException
net.smartlab.web.ActionServlet
net.smartlab.web.ActionTest
net.smartlab.web.ActionTest$Bean
net.smartlab.web.ActionTest$Form
net.smartlab.web.ActionTest$Name
net.smartlab.web.ActionTest$NestedBean
net.smartlab.web.ActionTest$Stub
net.smartlab.web.BusinessException
net.smartlab.web.BusinessObjectFactory$Paginator
net.smartlab.web.BusinessObjectFactoryPaginatorTest
net.smartlab.web.BusinessObjectFactoryPaginatorTest$Mock
net.smartlab.web.BusinessObjectFactoryPaginatorTest$MockFactory
net.smartlab.web.BusinessObjectFactoryTest
net.smartlab.web.BusinessObjectFactoryTest$Enumeration
net.smartlab.web.BusinessObjectFactoryTest$Sample
net.smartlab.web.BusinessObjectFactoryTest$SampleFactory
net.smartlab.web.BusinessObjectTest
net.smartlab.web.BusinessObjectTest$1
net.smartlab.web.BusinessObjectTest$Mock
net.smartlab.web.DAOException
net.smartlab.web.DataAccessObject$1
net.smartlab.web.DataAccessObject$SearchInfo
net.smartlab.web.DataAccessObject$SearchInfo$Filter
net.smartlab.web.DataAccessObject$SearchInfo$SkipFilterException
net.smartlab.web.DataAccessObjectSearchInfoTest
net.smartlab.web.DomainTest
net.smartlab.web.DynaActionTest
net.smartlab.web.DynaActionTest$Stub
net.smartlab.web.EmptyMarkerTag
net.smartlab.web.EnterpriseDomain$RequestContext
net.smartlab.web.EnterpriseDomainBuilder
net.smartlab.web.EnterpriseDomainBuilder$1
net.smartlab.web.EnterpriseDomainBuilder$EnterpriseDomainWrapper
net.smartlab.web.EnterpriseDomainBuilder$HomeWrapper
net.smartlab.web.EnterpriseDomainBuilderTest
net.smartlab.web.EnterpriseDomainTest
net.smartlab.web.EnterpriseDomainTest$Mock
net.smartlab.web.EnumerationTest
net.smartlab.web.EnumerationTest$Mock
net.smartlab.web.InvalidKeyException
net.smartlab.web.LockException
net.smartlab.web.PropertiesEnumerationTest
net.smartlab.web.PropertiesEnumerationTest$Mock
net.smartlab.web.StringEnumerationTest
net.smartlab.web.StringEnumerationTest$1
net.smartlab.web.StringEnumerationTest$Mock
net.smartlab.web.UndefinedKeyException
net.smartlab.web.Validator
net.smartlab.web.bean
net.smartlab.web.config
net.smartlab.web.history
java.beans
java.io
java.lang
java.lang.reflect
java.math
java.net
java.rmi
java.security
java.sql
java.text
java.util
javax.ejb
javax.naming
javax.rmi
javax.servlet
javax.servlet.http
javax.servlet.jsp
junit.framework
net.sf.ezmorph.test
net.smartlab.config
net.smartlab.web.bean
net.smartlab.web.config
net.smartlab.web.page
net.smartlab.web.test
org.apache.commons.beanutils
org.apache.commons.beanutils.locale
org.apache.commons.collections
org.apache.commons.lang.builder
org.apache.commons.logging
org.apache.commons.validator
org.apache.commons.validator.util
org.apache.struts.action
org.apache.struts.config
org.apache.struts.taglib.html
org.apache.struts.util
org.apache.struts.validator
org.dbunit.database
org.dbunit.dataset
org.dbunit.dataset.xml
org.dbunit.operation
org.hibernate
org.hibernate.criterion
org.hibernate.engine
org.hibernate.impl
org.hibernate.metadata
org.hibernate.persister.entity
org.hibernate.type
org.hibernate.usertype
org.mockejb
org.mockejb.jndi
servletunit
servletunit.struts

net.smartlab.web.bean

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
11112.0%92.0%4.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
net.smartlab.web.bean.CollectionConverter
net.smartlab.web.bean.Converter
net.smartlab.web.bean.NumberConverter
net.smartlab.web.bean.BigDecimalConverter
net.smartlab.web.bean.BigIntegerConverter
net.smartlab.web.bean.BooleanConverter
net.smartlab.web.bean.ByteConverter
net.smartlab.web.bean.CharConverter
net.smartlab.web.bean.ConversionException
net.smartlab.web.bean.ConverterManager
net.smartlab.web.bean.CurrencyConverter
net.smartlab.web.bean.DateConverter
net.smartlab.web.bean.DateTimeConverter
net.smartlab.web.bean.DoubleConverter
net.smartlab.web.bean.EnumerationConverter
net.smartlab.web.bean.FloatConverter
net.smartlab.web.bean.IntConverter
net.smartlab.web.bean.LongConverter
net.smartlab.web.bean.ShortConverter
net.smartlab.web.bean.StringConverter
net.smartlab.web.bean.StringEnumerationConverter
net.smartlab.web.bean.TimeConverter
net.smartlab.web.bean.URLConverter
net.smartlab.web.bean.ValorizationException
net.smartlab.web.bean.Valorizer
net.smartlab.web
java.beans
java.lang
java.lang.reflect
java.math
java.net
java.sql
java.text
java.util
net.smartlab.web
org.apache.commons.beanutils
org.apache.commons.logging

net.smartlab.web.config

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
11050.0%91.0%41.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
net.smartlab.web.config.ConfigurationStrategy
net.smartlab.web.config.DomainConfigurationStrategy
net.smartlab.web.config.FactoryConfigurationStrategy
net.smartlab.web.config.FileDomainConfigurationStrategy
net.smartlab.web.config.JNDIConfigurationStrategy
net.smartlab.web.config.TomcatConfigurationStrategy
net.smartlab.web
java.lang
java.net
java.util
javax.naming
javax.rmi
net.smartlab.config
net.smartlab.web
org.apache.commons.logging
org.hibernate
org.hibernate.cfg

net.smartlab.web.history

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
01067.0%100.0%67.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
net.smartlab.web.history.DifferenciallyHistorizedBusinessObject
net.smartlab.web.history.HistoricizableBusinessObject
net.smartlab.web.history.HistorizedBusinessObject
net.smartlab.web.history.HistorizedBusinessObjectFactory
net.smartlab.web.history.HistorizedBusinessObject$HistoryId
net.smartlab.web.history.Interceptor
Nonejava.io
java.lang
java.sql
java.util
net.smartlab.web
org.apache.commons.logging
org.hibernate
org.hibernate.criterion
org.hibernate.property
org.hibernate.type

net.smartlab.web.page

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
11412.0%93.0%5.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
net.smartlab.web.page.AbstractTag
net.smartlab.web.page.LinkableTag
net.smartlab.web.page.Paginator
net.smartlab.web.page.CollectionPaginator
net.smartlab.web.page.CountTag
net.smartlab.web.page.IsSelectedTag
net.smartlab.web.page.LinkTag
net.smartlab.web.page.NextTag
net.smartlab.web.page.NoNextTag
net.smartlab.web.page.NoPrevTag
net.smartlab.web.page.NotSelectedTag
net.smartlab.web.page.PageCountTag
net.smartlab.web.page.PageListTag
net.smartlab.web.page.PageSizeTag
net.smartlab.web.page.PageTag
net.smartlab.web.page.PaginateTag
net.smartlab.web.page.PaginateTagTest
net.smartlab.web.page.PaginateTei
net.smartlab.web.page.PaginationException
net.smartlab.web.page.PrevTag
net.smartlab.web.page.ReminderTag
net.smartlab.web.page.SQLPaginator
net.smartlab.web.page.SelectedTag
net.smartlab.web.page.StartIndexTag
net.smartlab.web.page.StopIndexTag
net.smartlab.web
java.io
java.lang
java.sql
java.util
javax.servlet
javax.servlet.http
javax.servlet.jsp
javax.servlet.jsp.tagext
javax.sql
junit.framework
org.apache.commons.beanutils
org.apache.commons.logging
org.apache.struts.taglib
org.apache.struts.taglib.html

org.hibernate

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
46100.0%60.000004%60.000004%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.hibernate.Query
Nonenet.smartlab.web
net.smartlab.web.config
net.smartlab.web.history
org.hibernate.impl
java.io
java.lang
java.math
java.util
org.hibernate.transform
org.hibernate.type

org.hibernate.impl

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
1110.0%92.0%8.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.hibernate.impl.QueryImpl
org.hibernate.impl.SQLQueryImpl
net.smartlab.web
java.io
java.lang
java.math
java.util
org.hibernate
org.hibernate.engine
org.hibernate.engine.query
org.hibernate.engine.query.sql
org.hibernate.persister.entity
org.hibernate.type
org.hibernate.util

Cycles

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

PackagePackage Dependencies
net.smartlab.webnet.smartlab.web.bean
net.smartlab.web
net.smartlab.web.beannet.smartlab.web
net.smartlab.web.bean
net.smartlab.web.confignet.smartlab.web
net.smartlab.web.bean
net.smartlab.web
net.smartlab.web.historynet.smartlab.web
net.smartlab.web.bean
net.smartlab.web

Explanation

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

The following explanations are for quick reference and are lifted directly from the original JDepend documentation.

TermDescription
Number of ClassesThe number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.
Afferent CouplingsThe number of other packages that depend upon classes within the package is an indicator of the package's responsibility.
Efferent CouplingsThe number of other packages that the classes in the package depend upon is an indicator of the package's independence.
AbstractnessThe 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.
InstabilityThe 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.
DistanceThe 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.
CyclesPackages 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.