## 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.torque | 11 | 10 | 1 | 14 | 13 | 9.0% | 48.0% | 43.0% | 1
org.apache.torque.adapter | 11 | 9 | 2 | 7 | 8 | 18.0% | 52.999996% | 28.0% | 1
org.apache.torque.avalon | 2 | 1 | 1 | 0 | 17 | 50.0% | 100.0% | 50.0% | 1
org.apache.torque.criteria | 6 | 5 | 1 | 6 | 6 | 17.0% | 50.0% | 33.0% | 1
org.apache.torque.dsfactory | 6 | 4 | 2 | 1 | 11 | 33.0% | 92.0% | 25.0% | 1
org.apache.torque.manager | 3 | 2 | 1 | 2 | 8 | 33.0% | 80.0% | 13.0% | 1
org.apache.torque.map | 6 | 5 | 1 | 4 | 6 | 17.0% | 60.000004% | 23.0% | 1
org.apache.torque.oid | 6 | 4 | 2 | 1 | 10 | 33.0% | 91.0% | 24.0% | 1
org.apache.torque.om | 10 | 5 | 5 | 3 | 6 | 50.0% | 67.0% | 17.0% | 1
org.apache.torque.om.mapper | 9 | 8 | 1 | 2 | 8 | 11.0% | 80.0% | 9.0% | 1
org.apache.torque.sql | 6 | 6 | 0 | 4 | 12 | 0.0% | 75.0% | 25.0% | 1
org.apache.torque.sql.objectbuilder | 3 | 2 | 1 | 1 | 8 | 33.0% | 89.0% | 22.0% | 1
org.apache.torque.sql.whereclausebuilder | 8 | 6 | 2 | 1 | 9 | 25.0% | 90.0% | 15.000001% | 1
org.apache.torque.util | 17 | 13 | 4 | 5 | 17 | 24.0% | 77.0% | 1.0% | 1
org.apache.torque.util.functions | 8 | 6 | 2 | 1 | 4 | 25.0% | 80.0% | 5.0% | 1

## Packages

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

### org.apache.torque

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
14 | 13 | 9.0% | 48.0% | 43.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.Column | org.apache.torque.ColumnImpl org.apache.torque.ConstraintViolationException org.apache.torque.Database org.apache.torque.DeadlockException org.apache.torque.NoRowsException org.apache.torque.OptimisticLockingFailedException org.apache.torque.TooManyRowsException org.apache.torque.Torque org.apache.torque.TorqueException org.apache.torque.TorqueRuntimeException | org.apache.torque.adapter org.apache.torque.avalon org.apache.torque.criteria org.apache.torque.dsfactory org.apache.torque.manager org.apache.torque.map org.apache.torque.oid org.apache.torque.om org.apache.torque.om.mapper org.apache.torque.sql org.apache.torque.sql.objectbuilder org.apache.torque.sql.whereclausebuilder org.apache.torque.util org.apache.torque.util.functions | java.io java.lang java.sql java.util org.apache.commons.configuration2 org.apache.commons.lang3 org.apache.commons.lang3.builder org.apache.torque.adapter org.apache.torque.dsfactory org.apache.torque.manager org.apache.torque.map org.apache.torque.oid org.apache.torque.util

### org.apache.torque.adapter

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
7 | 8 | 18.0% | 52.999996% | 28.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.adapter.AbstractAdapter org.apache.torque.adapter.Adapter | org.apache.torque.adapter.AdapterFactory org.apache.torque.adapter.DerbyAdapter org.apache.torque.adapter.HsqldbAdapter org.apache.torque.adapter.IDMethod org.apache.torque.adapter.MssqlAdapter org.apache.torque.adapter.MysqlAdapter org.apache.torque.adapter.NoneAdapter org.apache.torque.adapter.OracleAdapter org.apache.torque.adapter.PostgresAdapter | org.apache.torque org.apache.torque.avalon org.apache.torque.oid org.apache.torque.sql org.apache.torque.sql.objectbuilder org.apache.torque.sql.whereclausebuilder org.apache.torque.util | java.io java.lang java.sql java.util org.apache.logging.log4j org.apache.torque org.apache.torque.sql org.apache.torque.util

### org.apache.torque.avalon

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 17 | 50.0% | 100.0% | 50.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.avalon.Torque | org.apache.torque.avalon.TorqueComponent | None | java.io java.lang java.nio.file java.sql java.util org.apache.avalon.framework.activity org.apache.avalon.framework.component org.apache.avalon.framework.configuration org.apache.avalon.framework.context org.apache.avalon.framework.logger org.apache.avalon.framework.thread org.apache.commons.configuration2 org.apache.commons.lang3 org.apache.torque org.apache.torque.adapter org.apache.torque.manager org.apache.torque.map

### org.apache.torque.criteria

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
6 | 6 | 17.0% | 50.0% | 33.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.criteria.PreparedStatementPart | org.apache.torque.criteria.FromElement org.apache.torque.criteria.Join org.apache.torque.criteria.JoinType org.apache.torque.criteria.PreparedStatementPartImpl org.apache.torque.criteria.SqlEnum | org.apache.torque.map org.apache.torque.om.mapper org.apache.torque.sql org.apache.torque.sql.objectbuilder org.apache.torque.sql.whereclausebuilder org.apache.torque.util | java.io java.lang java.util org.apache.commons.lang3 org.apache.commons.lang3.builder org.apache.torque

### org.apache.torque.dsfactory

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 11 | 33.0% | 92.0% | 25.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.dsfactory.AbstractDataSourceFactory org.apache.torque.dsfactory.DataSourceFactory | org.apache.torque.dsfactory.PerUserPool2DataSourceFactory org.apache.torque.dsfactory.PerUserPoolDataSourceFactory org.apache.torque.dsfactory.SharedPool2DataSourceFactory org.apache.torque.dsfactory.SharedPoolDataSourceFactory | org.apache.torque | java.lang java.util javax.sql org.apache.commons.beanutils org.apache.commons.configuration2 org.apache.commons.dbcp.cpdsadapter org.apache.commons.dbcp.datasources org.apache.commons.dbcp2.cpdsadapter org.apache.commons.dbcp2.datasources org.apache.logging.log4j org.apache.torque

### org.apache.torque.manager

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 8 | 33.0% | 80.0% | 13.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.manager.CacheListener | org.apache.torque.manager.MethodResultCache org.apache.torque.manager.NoOpMethodResultCache | org.apache.torque org.apache.torque.avalon | java.io java.lang java.util org.apache.commons.jcs.access org.apache.commons.jcs.access.exception org.apache.logging.log4j org.apache.torque org.apache.torque.om

### org.apache.torque.map

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
4 | 6 | 17.0% | 60.000004% | 23.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.map.OptionSupport | org.apache.torque.map.ColumnMap org.apache.torque.map.ForeignKeyMap org.apache.torque.map.ForeignKeyMap$ColumnPair org.apache.torque.map.InheritanceMap org.apache.torque.map.MapHelper | org.apache.torque org.apache.torque.avalon org.apache.torque.sql org.apache.torque.util | java.io java.lang java.util java.util.concurrent org.apache.torque org.apache.torque.criteria

### org.apache.torque.oid

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 10 | 33.0% | 91.0% | 24.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.oid.AbstractIdGenerator org.apache.torque.oid.IdGenerator | org.apache.torque.oid.AutoIncrementIdGenerator org.apache.torque.oid.IDGeneratorFactory org.apache.torque.oid.IDGeneratorFactory$1 org.apache.torque.oid.SequenceIdGenerator | org.apache.torque | java.lang java.math java.sql java.util java.util.stream org.apache.torque org.apache.torque.adapter org.apache.torque.om.mapper org.apache.torque.sql org.apache.torque.util

### org.apache.torque.om

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
3 | 6 | 50.0% | 67.0% | 17.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.om.ColumnAccessByName org.apache.torque.om.ObjectKey org.apache.torque.om.ObjectModel org.apache.torque.om.Persistent org.apache.torque.om.SimpleKey | org.apache.torque.om.BooleanKey org.apache.torque.om.ComboKey org.apache.torque.om.DateKey org.apache.torque.om.NumberKey org.apache.torque.om.StringKey | org.apache.torque.manager org.apache.torque.sql.objectbuilder org.apache.torque.util | java.io java.lang java.math java.sql java.util org.apache.torque

### org.apache.torque.om.mapper

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 8 | 11.0% | 80.0% | 9.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.om.mapper.RecordMapper | org.apache.torque.om.mapper.BigDecimalMapper org.apache.torque.om.mapper.CompositeMapper org.apache.torque.om.mapper.CompositeMapper$MapperWithOffset org.apache.torque.om.mapper.DateMapper org.apache.torque.om.mapper.IntegerMapper org.apache.torque.om.mapper.LongMapper org.apache.torque.om.mapper.ObjectListMapper org.apache.torque.om.mapper.StringMapper | org.apache.torque.oid org.apache.torque.util | java.io java.lang java.math java.net java.sql java.util org.apache.torque org.apache.torque.criteria

### org.apache.torque.sql

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
4 | 12 | 0.0% | 75.0% | 25.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | org.apache.torque.sql.JoinBuilder org.apache.torque.sql.OrderBy org.apache.torque.sql.Query org.apache.torque.sql.Query$Type org.apache.torque.sql.SqlBuilder org.apache.torque.sql.WhereClauseExpression | org.apache.torque.adapter org.apache.torque.oid org.apache.torque.sql.objectbuilder org.apache.torque.sql.whereclausebuilder | java.io java.lang java.util org.apache.commons.lang3 org.apache.commons.lang3.builder org.apache.logging.log4j org.apache.torque org.apache.torque.adapter org.apache.torque.criteria org.apache.torque.map org.apache.torque.sql.whereclausebuilder org.apache.torque.util

### org.apache.torque.sql.objectbuilder

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.apache.torque.sql.objectbuilder.ObjectPsPartBuilder | org.apache.torque.sql.objectbuilder.ObjectOrColumnPsPartBuilder org.apache.torque.sql.objectbuilder.PreparedStatementPartForSubselect | org.apache.torque.sql.whereclausebuilder | java.lang java.util org.apache.torque org.apache.torque.adapter org.apache.torque.criteria org.apache.torque.om org.apache.torque.sql org.apache.torque.util

### org.apache.torque.sql.whereclausebuilder

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 9 | 25.0% | 90.0% | 15.000001%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.sql.whereclausebuilder.AbstractWhereClausePsPartBuilder org.apache.torque.sql.whereclausebuilder.WhereClausePsPartBuilder | org.apache.torque.sql.whereclausebuilder.EnumValueBuilder org.apache.torque.sql.whereclausebuilder.InBuilder org.apache.torque.sql.whereclausebuilder.NoReplacementsPreparedStatementPart org.apache.torque.sql.whereclausebuilder.OnlyReplacementsPreparedStatementPart org.apache.torque.sql.whereclausebuilder.StandardBuilder org.apache.torque.sql.whereclausebuilder.VerbatimSqlConditionBuilder | org.apache.torque.sql | java.lang java.lang.reflect java.util org.apache.commons.lang3 org.apache.torque org.apache.torque.adapter org.apache.torque.criteria org.apache.torque.sql org.apache.torque.sql.objectbuilder

### org.apache.torque.util

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
5 | 17 | 24.0% | 77.0% | 1.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.util.AbstractPeerImpl org.apache.torque.util.ExceptionMapper org.apache.torque.util.TorqueConnection org.apache.torque.util.TransactionManager | org.apache.torque.util.AvgHelper org.apache.torque.util.ColumnValues org.apache.torque.util.CountHelper org.apache.torque.util.ExceptionMapperImpl org.apache.torque.util.JdbcTypedValue org.apache.torque.util.ListOrderedMapCI org.apache.torque.util.ResultsetSpliterator org.apache.torque.util.SummaryHelper org.apache.torque.util.TorqueConnectionImpl org.apache.torque.util.Transaction org.apache.torque.util.TransactionManagerImpl org.apache.torque.util.UniqueColumnList org.apache.torque.util.UniqueList | org.apache.torque org.apache.torque.adapter org.apache.torque.oid org.apache.torque.sql org.apache.torque.sql.objectbuilder | java.io java.lang java.math java.sql java.util java.util.concurrent java.util.function org.apache.commons.lang3 org.apache.commons.lang3.builder org.apache.logging.log4j org.apache.torque org.apache.torque.adapter org.apache.torque.criteria org.apache.torque.map org.apache.torque.om org.apache.torque.om.mapper org.apache.torque.util.functions

### org.apache.torque.util.functions

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 4 | 25.0% | 80.0% | 5.0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
org.apache.torque.util.functions.AbstractFunction org.apache.torque.util.functions.SQLFunction | org.apache.torque.util.functions.AggregateFunction org.apache.torque.util.functions.Avg org.apache.torque.util.functions.Count org.apache.torque.util.functions.Max org.apache.torque.util.functions.Min org.apache.torque.util.functions.Sum | org.apache.torque.util | java.lang java.util org.apache.commons.lang3 org.apache.torque

## Cycles

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

Package | Package Dependencies
--- | ---
org.apache.torque | org.apache.torque.oid org.apache.torque
org.apache.torque.adapter | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.avalon | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.criteria | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.dsfactory | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.manager | org.apache.torque.om org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.map | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.oid | org.apache.torque org.apache.torque.oid
org.apache.torque.om | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.om.mapper | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.sql | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.sql.objectbuilder | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.sql.whereclausebuilder | org.apache.torque.sql.objectbuilder org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.util | org.apache.torque org.apache.torque.oid org.apache.torque
org.apache.torque.util.functions | org.apache.torque org.apache.torque.oid org.apache.torque

## 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.