Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
org.apache.torque | 10 | 9 | 1 | 14 | 15 | 10.0% | 52.0% | 38.0% | 1 |
org.apache.torque.adapter | 11 | 9 | 2 | 8 | 8 | 18.0% | 50.0% | 32.0% | 1 |
org.apache.torque.avalon | 2 | 1 | 1 | 0 | 16 | 50.0% | 100.0% | 50.0% | 1 |
org.apache.torque.criteria | 8 | 7 | 1 | 5 | 8 | 12.0% | 62.0% | 26.0% | 1 |
org.apache.torque.dsfactory | 5 | 3 | 2 | 1 | 10 | 40.0% | 91.0% | 31.0% | 1 |
org.apache.torque.manager | 5 | 3 | 2 | 2 | 13 | 40.0% | 87.0% | 27.000002% | 1 |
org.apache.torque.map | 7 | 7 | 0 | 4 | 9 | 0.0% | 69.0% | 31.0% | 1 |
org.apache.torque.oid | 6 | 4 | 2 | 2 | 11 | 33.0% | 85.0% | 18.0% | 1 |
org.apache.torque.om | 9 | 5 | 4 | 4 | 7 | 44.0% | 64.0% | 8.0% | 1 |
org.apache.torque.om.mapper | 9 | 8 | 1 | 2 | 7 | 11.0% | 78.0% | 11.0% | 1 |
org.apache.torque.sql | 6 | 6 | 0 | 6 | 13 | 0.0% | 68.0% | 32.0% | 1 |
org.apache.torque.sql.objectbuilder | 2 | 1 | 1 | 1 | 8 | 50.0% | 89.0% | 39.0% | 1 |
org.apache.torque.sql.whereclausebuilder | 9 | 7 | 2 | 1 | 8 | 22.0% | 89.0% | 11.0% | 1 |
org.apache.torque.util | 15 | 13 | 2 | 6 | 19 | 13.0% | 76.0% | 11.0% | 1 |
org.apache.torque.util.functions | 8 | 6 | 2 | 1 | 4 | 25.0% | 80.0% | 5.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
14 | 15 | 10.0% | 52.0% | 38.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.NoRowsException org.apache.torque.TooManyRowsException org.apache.torque.Torque org.apache.torque.TorqueException org.apache.torque.TorqueInstance 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 javax.sql org.apache.commons.configuration org.apache.commons.lang org.apache.commons.lang.builder org.apache.commons.logging org.apache.torque.adapter org.apache.torque.dsfactory org.apache.torque.manager org.apache.torque.map org.apache.torque.oid org.apache.torque.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
8 | 8 | 18.0% | 50.0% | 32.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.map 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.commons.logging org.apache.torque org.apache.torque.sql org.apache.torque.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 16 | 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.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.configuration org.apache.commons.lang org.apache.torque org.apache.torque.adapter org.apache.torque.manager org.apache.torque.map |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
5 | 8 | 12.0% | 62.0% | 26.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.torque.criteria.CriteriaInterface | org.apache.torque.criteria.Criteria org.apache.torque.criteria.Criterion org.apache.torque.criteria.FromElement org.apache.torque.criteria.Join org.apache.torque.criteria.JoinType org.apache.torque.criteria.PreparedStatementPart org.apache.torque.criteria.SqlEnum | org.apache.torque.map 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.lang org.apache.commons.lang.builder org.apache.torque org.apache.torque.sql org.apache.torque.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 10 | 40.0% | 91.0% | 31.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.torque.dsfactory.AbstractDataSourceFactory org.apache.torque.dsfactory.DataSourceFactory | org.apache.torque.dsfactory.JndiDataSourceFactory org.apache.torque.dsfactory.PerUserPoolDataSourceFactory org.apache.torque.dsfactory.SharedPoolDataSourceFactory | org.apache.torque | java.lang java.util javax.naming javax.sql org.apache.commons.beanutils org.apache.commons.configuration org.apache.commons.dbcp.cpdsadapter org.apache.commons.dbcp.datasources org.apache.commons.logging org.apache.torque |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 13 | 40.0% | 87.0% | 27.000002% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.torque.manager.AbstractBaseManager org.apache.torque.manager.CacheListener | org.apache.torque.manager.MethodCacheKey org.apache.torque.manager.MethodResultCache org.apache.torque.manager.NoOpMethodResultCache | org.apache.torque org.apache.torque.avalon | java.io java.lang java.lang.ref java.util org.apache.commons.collections org.apache.commons.configuration org.apache.commons.lang.builder org.apache.commons.logging org.apache.jcs org.apache.jcs.access org.apache.jcs.access.exception org.apache.torque org.apache.torque.om |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
4 | 9 | 0.0% | 69.0% | 31.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.torque.map.ColumnMap org.apache.torque.map.DatabaseMap org.apache.torque.map.ForeignKeyMap org.apache.torque.map.ForeignKeyMap$ColumnPair org.apache.torque.map.InheritanceMap org.apache.torque.map.MapHelper org.apache.torque.map.TableMap | org.apache.torque org.apache.torque.avalon org.apache.torque.sql org.apache.torque.util | java.io java.lang java.lang.reflect java.text java.util org.apache.commons.lang org.apache.torque org.apache.torque.adapter org.apache.torque.criteria |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 11 | 33.0% | 85.0% | 18.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.IDBroker org.apache.torque.oid.IDGeneratorFactory org.apache.torque.oid.SequenceIdGenerator | org.apache.torque org.apache.torque.util | java.lang java.math java.sql java.util org.apache.commons.configuration org.apache.commons.logging org.apache.torque org.apache.torque.adapter org.apache.torque.om.mapper org.apache.torque.sql org.apache.torque.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
4 | 7 | 44.0% | 64.0% | 8.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.torque.om.ColumnAccessByName org.apache.torque.om.ObjectKey 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 org.apache.torque.sql.objectbuilder org.apache.torque.util | java.io java.lang java.math java.sql java.util org.apache.commons.lang org.apache.torque |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 7 | 11.0% | 78.0% | 11.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 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 13 | 0.0% | 68.0% | 32.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.criteria org.apache.torque.oid org.apache.torque.sql.objectbuilder org.apache.torque.sql.whereclausebuilder org.apache.torque.util | java.io java.lang java.util org.apache.commons.lang org.apache.commons.lang.builder org.apache.commons.logging org.apache.torque org.apache.torque.adapter org.apache.torque.criteria org.apache.torque.map org.apache.torque.om org.apache.torque.sql.whereclausebuilder org.apache.torque.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 8 | 50.0% | 89.0% | 39.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.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 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 8 | 22.0% | 89.0% | 11.0% |
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.CurrentDateTimePsPartBuilder org.apache.torque.sql.whereclausebuilder.CustomBuilder org.apache.torque.sql.whereclausebuilder.InBuilder org.apache.torque.sql.whereclausebuilder.LikeBuilder org.apache.torque.sql.whereclausebuilder.NullValueBuilder org.apache.torque.sql.whereclausebuilder.StandardBuilder org.apache.torque.sql.whereclausebuilder.VerbatimSqlConditionBuilder | org.apache.torque.sql | java.lang java.util org.apache.commons.lang org.apache.torque org.apache.torque.adapter org.apache.torque.criteria org.apache.torque.sql org.apache.torque.sql.objectbuilder |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 19 | 13.0% | 76.0% | 11.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.torque.util.BasePeer org.apache.torque.util.TransactionManager | org.apache.torque.util.BasePeerImpl org.apache.torque.util.ColumnValues org.apache.torque.util.CountHelper org.apache.torque.util.Criteria org.apache.torque.util.Criteria$Criterion org.apache.torque.util.JdbcTypedValue org.apache.torque.util.LargeSelect org.apache.torque.util.ListOrderedMapCI org.apache.torque.util.SummaryHelper 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.criteria org.apache.torque.oid org.apache.torque.sql org.apache.torque.sql.objectbuilder | java.io java.lang java.math java.sql java.util org.apache.commons.collections org.apache.commons.collections.map org.apache.commons.lang org.apache.commons.lang.builder org.apache.commons.logging org.apache.torque org.apache.torque.adapter org.apache.torque.criteria org.apache.torque.map org.apache.torque.oid org.apache.torque.om org.apache.torque.om.mapper org.apache.torque.sql 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.lang org.apache.torque |
Package | Package Dependencies |
---|---|
org.apache.torque | org.apache.torque.adapter org.apache.torque |
org.apache.torque.adapter | org.apache.torque org.apache.torque.adapter |
org.apache.torque.avalon | org.apache.torque.map org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.criteria | org.apache.torque.util org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.dsfactory | org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.manager | org.apache.torque.om org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.map | org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.oid | org.apache.torque.adapter org.apache.torque org.apache.torque.adapter |
org.apache.torque.om | org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.om.mapper | org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.sql | org.apache.torque.om org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.sql.objectbuilder | org.apache.torque.om org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.sql.whereclausebuilder | org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.util | org.apache.torque org.apache.torque.adapter org.apache.torque |
org.apache.torque.util.functions | org.apache.torque org.apache.torque.adapter org.apache.torque |
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. |