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.riverock.dbrevision 1 1 0 0 1 0.0% 100.0% 0.0% 1
org.riverock.dbrevision.annotation.schema.db 35 33 2 7 6 6.0% 46.0% 48.0% 1
org.riverock.dbrevision.db 8 7 1 5 14 12.0% 74.0% 14.0% 1
org.riverock.dbrevision.db.impl 8 8 0 1 14 0.0% 93.0% 7.0% 1
org.riverock.dbrevision.exception 18 18 0 7 1 0.0% 12.0% 88.0% 1
org.riverock.dbrevision.manager 8 8 0 2 15 0.0% 88.0% 12.0% 1
org.riverock.dbrevision.manager.config 3 2 1 1 7 33.0% 88.0% 21.0% 1
org.riverock.dbrevision.manager.dao 3 2 1 1 8 33.0% 89.0% 22.0% 1
org.riverock.dbrevision.manager.patch 10 8 2 1 9 20.0% 90.0% 10.0% 1
org.riverock.dbrevision.system 2 2 0 1 8 0.0% 89.0% 11.0% 1
org.riverock.dbrevision.utils 2 2 0 7 13 0.0% 65.0% 35.0% 1

Packages

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

org.riverock.dbrevision

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 1 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.riverock.dbrevision.Constants
None java.lang

org.riverock.dbrevision.annotation.schema.db

Afferent Couplings Efferent Couplings Abstractness Instability Distance
7 6 6.0% 46.0% 48.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.riverock.dbrevision.annotation.schema.db.DbAbstractTable
org.riverock.dbrevision.annotation.schema.db.package-info
org.riverock.dbrevision.annotation.schema.db.Action
org.riverock.dbrevision.annotation.schema.db.ActionParameter
org.riverock.dbrevision.annotation.schema.db.AddTableFieldAction
org.riverock.dbrevision.annotation.schema.db.CustomClassAction
org.riverock.dbrevision.annotation.schema.db.DbDataFieldData
org.riverock.dbrevision.annotation.schema.db.DbDataRecord
org.riverock.dbrevision.annotation.schema.db.DbDataSchema
org.riverock.dbrevision.annotation.schema.db.DbDataTable
org.riverock.dbrevision.annotation.schema.db.DbDatabase
org.riverock.dbrevision.annotation.schema.db.DbField
org.riverock.dbrevision.annotation.schema.db.DbForeignKey
org.riverock.dbrevision.annotation.schema.db.DbForeignKeyColumn
org.riverock.dbrevision.annotation.schema.db.DbIndex
org.riverock.dbrevision.annotation.schema.db.DbIndexColumn
org.riverock.dbrevision.annotation.schema.db.DbKeyActionRule
org.riverock.dbrevision.annotation.schema.db.DbPrimaryKey
org.riverock.dbrevision.annotation.schema.db.DbPrimaryKeyColumn
org.riverock.dbrevision.annotation.schema.db.DbRevision
org.riverock.dbrevision.annotation.schema.db.DbRevision$Module
org.riverock.dbrevision.annotation.schema.db.DbRevision$Module$Versions
org.riverock.dbrevision.annotation.schema.db.DbSchema
org.riverock.dbrevision.annotation.schema.db.DbSequence
org.riverock.dbrevision.annotation.schema.db.DbTable
org.riverock.dbrevision.annotation.schema.db.DbView
org.riverock.dbrevision.annotation.schema.db.FieldData
org.riverock.dbrevision.annotation.schema.db.ObjectFactory
org.riverock.dbrevision.annotation.schema.db.Patch
org.riverock.dbrevision.annotation.schema.db.Patches
org.riverock.dbrevision.annotation.schema.db.PrimaryKey
org.riverock.dbrevision.annotation.schema.db.RecordData
org.riverock.dbrevision.annotation.schema.db.SqlAction
org.riverock.dbrevision.annotation.schema.db.TableData
org.riverock.dbrevision.annotation.schema.db.Validator
org.riverock.dbrevision.db
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.config
org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager.patch
org.riverock.dbrevision.system
java.lang
java.math
java.util
javax.xml.bind
javax.xml.datatype
javax.xml.namespace

org.riverock.dbrevision.db

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 14 12.0% 74.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.riverock.dbrevision.db.Database
org.riverock.dbrevision.db.Database$Family
org.riverock.dbrevision.db.DatabaseFactory
org.riverock.dbrevision.db.DatabaseManager
org.riverock.dbrevision.db.DatabaseStructureManager
org.riverock.dbrevision.db.DatabaseStructureManager$1
org.riverock.dbrevision.db.DbFkComparator
org.riverock.dbrevision.db.DbPkComparator
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager.patch
org.riverock.dbrevision.system
java.io
java.lang
java.lang.reflect
java.math
java.sql
java.util
javax.xml.datatype
org.apache.commons.codec.binary
org.apache.commons.lang
org.apache.log4j
org.riverock.dbrevision.annotation.schema.db
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.exception
org.riverock.dbrevision.utils

org.riverock.dbrevision.db.impl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 14 0.0% 93.0% 7.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.riverock.dbrevision.db.impl.DB2Database
org.riverock.dbrevision.db.impl.HyperSonicDatabase
org.riverock.dbrevision.db.impl.InterbaseDatabase
org.riverock.dbrevision.db.impl.MaxDBDatabase
org.riverock.dbrevision.db.impl.MySqlDatabase
org.riverock.dbrevision.db.impl.OracleDatabase
org.riverock.dbrevision.db.impl.PostgreeSqlDatabase
org.riverock.dbrevision.db.impl.SqlServerDatabase
org.riverock.dbrevision.db
java.io
java.lang
java.sql
java.util
oracle.jdbc
oracle.jdbc.driver
oracle.sql
org.apache.commons.codec.binary
org.apache.commons.lang
org.apache.log4j
org.riverock.dbrevision.annotation.schema.db
org.riverock.dbrevision.db
org.riverock.dbrevision.exception
org.riverock.dbrevision.utils

org.riverock.dbrevision.exception

Afferent Couplings Efferent Couplings Abstractness Instability Distance
7 1 0.0% 12.0% 88.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.riverock.dbrevision.exception.ConfigFileNotFoundException
org.riverock.dbrevision.exception.ConfigParseException
org.riverock.dbrevision.exception.CurrentVersionCodeNotFoundException
org.riverock.dbrevision.exception.CurrentVersionNotDefinedException
org.riverock.dbrevision.exception.DbRevisionException
org.riverock.dbrevision.exception.DbRevisionPathNotFoundException
org.riverock.dbrevision.exception.FirstPatchNotFoundException
org.riverock.dbrevision.exception.FirstVersionWithPatchdException
org.riverock.dbrevision.exception.InitStructureFileNotFoundException
org.riverock.dbrevision.exception.ModuleNotConfiguredException
org.riverock.dbrevision.exception.ModulePathNotFoundException
org.riverock.dbrevision.exception.NoChildPatchFoundException
org.riverock.dbrevision.exception.PatchParseException
org.riverock.dbrevision.exception.PatchPathNotFoundException
org.riverock.dbrevision.exception.PatchPrepareException
org.riverock.dbrevision.exception.TwoPatchesWithEmptyPreviousPatchException
org.riverock.dbrevision.exception.TwoPatchesWithSameNameException
org.riverock.dbrevision.exception.VersionPathNotFoundException
org.riverock.dbrevision.db
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.config
org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager.patch
org.riverock.dbrevision.system
java.lang

org.riverock.dbrevision.manager

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 15 0.0% 88.0% 12.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.riverock.dbrevision.manager.Config
org.riverock.dbrevision.manager.DbRevisionChecker
org.riverock.dbrevision.manager.DbRevisionManager
org.riverock.dbrevision.manager.Module
org.riverock.dbrevision.manager.ModuleConfig
org.riverock.dbrevision.manager.RevisionBean
org.riverock.dbrevision.manager.Version
org.riverock.dbrevision.manager.Version$1
org.riverock.dbrevision.manager.config
org.riverock.dbrevision.manager.dao
java.io
java.lang
java.sql
java.util
javax.xml.bind
org.apache.commons.lang
org.apache.log4j
org.riverock.dbrevision.annotation.schema.db
org.riverock.dbrevision.db
org.riverock.dbrevision.exception
org.riverock.dbrevision.manager.config
org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager.patch
org.riverock.dbrevision.system
org.riverock.dbrevision.utils

org.riverock.dbrevision.manager.config

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 33.0% 88.0% 21.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.riverock.dbrevision.manager.config.ConfigParser
org.riverock.dbrevision.manager.config.ConfigParserFactory
org.riverock.dbrevision.manager.config.JaxbConfigParserImpl
org.riverock.dbrevision.manager
java.io
java.lang
java.util
org.riverock.dbrevision.annotation.schema.db
org.riverock.dbrevision.exception
org.riverock.dbrevision.manager
org.riverock.dbrevision.utils

org.riverock.dbrevision.manager.dao

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 33.0% 89.0% 22.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.riverock.dbrevision.manager.dao.ManagerDao
org.riverock.dbrevision.manager.dao.ManagerDaoFactory
org.riverock.dbrevision.manager.dao.ManagerDaoImpl
org.riverock.dbrevision.manager
java.lang
java.sql
java.util
org.riverock.dbrevision.annotation.schema.db
org.riverock.dbrevision.db
org.riverock.dbrevision.exception
org.riverock.dbrevision.manager
org.riverock.dbrevision.utils

org.riverock.dbrevision.manager.patch

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 20.0% 90.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.riverock.dbrevision.manager.patch.PatchAction
org.riverock.dbrevision.manager.patch.PatchValidator
org.riverock.dbrevision.manager.patch.PatchMessage
org.riverock.dbrevision.manager.patch.PatchMessages
org.riverock.dbrevision.manager.patch.PatchService
org.riverock.dbrevision.manager.patch.PatchService$1
org.riverock.dbrevision.manager.patch.PatchService$ActionTypes
org.riverock.dbrevision.manager.patch.PatchSorter
org.riverock.dbrevision.manager.patch.PatchStatus
org.riverock.dbrevision.manager.patch.PatchStatus$Status
org.riverock.dbrevision.manager
java.lang
java.sql
java.util
org.apache.commons.lang
org.apache.log4j
org.riverock.dbrevision.annotation.schema.db
org.riverock.dbrevision.db
org.riverock.dbrevision.exception
org.riverock.dbrevision.utils

org.riverock.dbrevision.system

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.riverock.dbrevision.system.DbStructureExport
org.riverock.dbrevision.system.DbStructureImport
org.riverock.dbrevision.manager
java.io
java.lang
java.util
org.apache.log4j
org.riverock.dbrevision.annotation.schema.db
org.riverock.dbrevision.db
org.riverock.dbrevision.exception
org.riverock.dbrevision.utils

org.riverock.dbrevision.utils

Afferent Couplings Efferent Couplings Abstractness Instability Distance
7 13 0.0% 65.0% 35.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.riverock.dbrevision.utils.DbUtils
org.riverock.dbrevision.utils.Utils
org.riverock.dbrevision.db
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.config
org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager.patch
org.riverock.dbrevision.system
com.sun.xml.bind.marshaller
java.io
java.lang
java.sql
java.text
java.util
javax.xml.bind
javax.xml.namespace
javax.xml.transform
javax.xml.transform.stream
org.apache.commons.lang
org.apache.commons.lang.time
org.apache.log4j

Cycles

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

Package Package Dependencies
org.riverock.dbrevision.db org.riverock.dbrevision.db.impl
org.riverock.dbrevision.db
org.riverock.dbrevision.db.impl org.riverock.dbrevision.db
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.manager org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.config org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.dao org.riverock.dbrevision.manager
org.riverock.dbrevision.manager.dao
org.riverock.dbrevision.manager.patch org.riverock.dbrevision.db
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.db
org.riverock.dbrevision.system org.riverock.dbrevision.db
org.riverock.dbrevision.db.impl
org.riverock.dbrevision.db

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.