Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 7 | 50.0% | 100.0% | 50.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.audit.SQLAuditor |
org.apache.shardingsphere.infra.executor.audit.SQLAuditEngine |
None | java.lang java.util org.apache.shardingsphere.infra.metadata.database org.apache.shardingsphere.infra.metadata.database.rule org.apache.shardingsphere.infra.rule org.apache.shardingsphere.infra.session.query org.apache.shardingsphere.infra.spi.type.ordered |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 6 | 100.0% | 100.0% | 100.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.checker.SQLExecutionChecker |
None | None | java.lang org.apache.shardingsphere.infra.metadata org.apache.shardingsphere.infra.metadata.database org.apache.shardingsphere.infra.metadata.user org.apache.shardingsphere.infra.session.query org.apache.shardingsphere.infra.spi |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
5 | 4 | 25.0% | 44.0% | 31.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.kernel.model.ExecutorCallback |
org.apache.shardingsphere.infra.executor.kernel.model.ExecutionGroup org.apache.shardingsphere.infra.executor.kernel.model.ExecutionGroupContext org.apache.shardingsphere.infra.executor.kernel.model.ExecutionGroupReportContext |
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc org.apache.shardingsphere.infra.executor.sql.execute.engine.raw org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback org.apache.shardingsphere.infra.executor.sql.prepare org.apache.shardingsphere.infra.executor.sql.process |
java.lang java.sql java.util org.apache.shardingsphere.infra.metadata.user |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 3 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.kernel.thread.ExecutorThreadFactoryBuilder |
None | com.google.common.util.concurrent java.lang java.util.concurrent |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 5 | 0.0% | 45.0% | 55.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.context.ExecutionContext org.apache.shardingsphere.infra.executor.sql.context.ExecutionUnit org.apache.shardingsphere.infra.executor.sql.context.SQLUnit |
org.apache.shardingsphere.infra.executor.sql.execute.engine org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc org.apache.shardingsphere.infra.executor.sql.execute.engine.raw org.apache.shardingsphere.infra.executor.sql.log org.apache.shardingsphere.infra.executor.sql.prepare.driver org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder |
java.lang java.util org.apache.shardingsphere.infra.binder.context.statement org.apache.shardingsphere.infra.route.context org.apache.shardingsphere.infra.session.query |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 2 | 50.0% | 25.0% | 25.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.execute.engine.SQLExecutionUnit |
org.apache.shardingsphere.infra.executor.sql.execute.engine.ConnectionMode |
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc org.apache.shardingsphere.infra.executor.sql.execute.engine.raw org.apache.shardingsphere.infra.executor.sql.prepare.driver org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder org.apache.shardingsphere.infra.executor.sql.process |
java.lang org.apache.shardingsphere.infra.executor.sql.context |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 2 | 100.0% | 40.0% | 40.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.DriverExecutionUnit |
None | org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc org.apache.shardingsphere.infra.executor.sql.prepare.driver org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder |
java.lang org.apache.shardingsphere.infra.executor.sql.execute.engine |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 17 | 33.0% | 94.0% | 28.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback |
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutionUnit org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor |
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder |
java.lang java.sql java.util org.apache.shardingsphere.infra.database.core.connector org.apache.shardingsphere.infra.database.core.type org.apache.shardingsphere.infra.executor.kernel org.apache.shardingsphere.infra.executor.kernel.model org.apache.shardingsphere.infra.executor.sql.context org.apache.shardingsphere.infra.executor.sql.execute.engine org.apache.shardingsphere.infra.executor.sql.execute.engine.driver org.apache.shardingsphere.infra.executor.sql.hook org.apache.shardingsphere.infra.executor.sql.process org.apache.shardingsphere.infra.metadata.database.resource org.apache.shardingsphere.infra.metadata.database.resource.unit org.apache.shardingsphere.infra.session.connection org.apache.shardingsphere.infra.session.connection.transaction org.apache.shardingsphere.sql.parser.statement.core.statement |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 15 | 0.0% | 94.0% | 6.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.RawExecutor org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.RawSQLExecutionUnit org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.RawSQLRuntimeContext |
org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback |
java.lang java.sql java.util org.apache.shardingsphere.infra.executor.kernel org.apache.shardingsphere.infra.executor.kernel.model org.apache.shardingsphere.infra.executor.sql.context org.apache.shardingsphere.infra.executor.sql.execute.engine org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback org.apache.shardingsphere.infra.executor.sql.execute.result.update org.apache.shardingsphere.infra.executor.sql.process org.apache.shardingsphere.infra.metadata.database org.apache.shardingsphere.infra.route.context org.apache.shardingsphere.infra.session.connection org.apache.shardingsphere.infra.session.connection.transaction org.apache.shardingsphere.infra.session.query |
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.shardingsphere.infra.executor.sql.execute.engine.raw.callback.RawExecutorCallback |
org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback.RawSQLExecutorCallback |
org.apache.shardingsphere.infra.executor.sql.execute.engine.raw |
com.google.common.base java.lang java.sql java.util org.apache.shardingsphere.infra.executor.kernel.model org.apache.shardingsphere.infra.executor.sql.execute.engine.raw org.apache.shardingsphere.infra.executor.sql.process org.apache.shardingsphere.infra.spi |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 1 | 100.0% | 33.0% | 33.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.execute.result.ExecuteResult |
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query org.apache.shardingsphere.infra.executor.sql.execute.result.update |
java.lang |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
5 | 5 | 100.0% | 50.0% | 50.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResultMetaData |
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.metadata org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.raw.metadata org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.raw.type org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.stream |
java.io java.lang java.sql java.util org.apache.shardingsphere.infra.executor.sql.execute.result |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 3 | 0.0% | 60.000004% | 40.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.metadata.JDBCQueryResultMetaData |
org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.memory org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.stream |
java.lang java.sql org.apache.shardingsphere.infra.executor.sql.execute.result.query |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 8 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.memory.JDBCMemoryQueryResult org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.memory.QueryResultDataRowLoader |
None | java.lang java.sql java.util org.apache.shardingsphere.infra.database.core.resultset org.apache.shardingsphere.infra.database.core.type org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.metadata org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory.row |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 9 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.stream.JDBCStreamQueryResult |
None | java.io java.lang java.math java.sql java.time java.util org.apache.shardingsphere.infra.exception.kernel.data org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.metadata org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.stream |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 3 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.raw.metadata.RawQueryResultColumnMetaData org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.raw.metadata.RawQueryResultMetaData |
None | java.lang java.util org.apache.shardingsphere.infra.executor.sql.execute.result.query |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 3 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.raw.type.RawMemoryQueryResult |
None | java.util org.apache.shardingsphere.infra.executor.sql.execute.result.query org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 6 | 100.0% | 75.0% | 75.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory.AbstractMemoryQueryResult |
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.memory org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.raw.type |
java.io java.lang java.sql java.util org.apache.shardingsphere.infra.executor.sql.execute.result.query org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory.row |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 2 | 0.0% | 50.0% | 50.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory.row.MemoryQueryResultDataRow |
org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.memory org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory |
java.lang java.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 2 | 100.0% | 67.0% | 67.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.stream.AbstractStreamQueryResult |
None | org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.stream |
java.lang org.apache.shardingsphere.infra.executor.sql.execute.result.query |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 2 | 0.0% | 67.0% | 33.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.execute.result.update.UpdateResult |
org.apache.shardingsphere.infra.executor.sql.execute.engine.raw |
java.lang org.apache.shardingsphere.infra.executor.sql.execute.result |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 4 | 50.0% | 80.0% | 30.000002% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook |
org.apache.shardingsphere.infra.executor.sql.hook.SPISQLExecutionHook |
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc |
java.lang java.util org.apache.shardingsphere.infra.database.core.connector org.apache.shardingsphere.infra.spi |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 5 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.log.SQLLogger |
None | java.lang java.util org.apache.shardingsphere.infra.executor.sql.context org.apache.shardingsphere.infra.session.query org.slf4j |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 7 | 100.0% | 100.0% | 100.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.prepare.ExecutionPrepareDecorator org.apache.shardingsphere.infra.executor.sql.prepare.ExecutionPrepareEngine |
None | None | java.lang java.sql java.util org.apache.shardingsphere.infra.executor.kernel.model org.apache.shardingsphere.infra.route.context org.apache.shardingsphere.infra.rule org.apache.shardingsphere.infra.spi.type.ordered |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 8 | 100.0% | 80.0% | 80.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.prepare.driver.BackendDataSource org.apache.shardingsphere.infra.executor.sql.prepare.driver.DatabaseConnectionManager org.apache.shardingsphere.infra.executor.sql.prepare.driver.ExecutorStatementManager org.apache.shardingsphere.infra.executor.sql.prepare.driver.SQLExecutionUnitBuilder org.apache.shardingsphere.infra.executor.sql.prepare.driver.StorageResourceOption |
None | org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder |
java.lang java.sql java.util org.apache.shardingsphere.infra.database.core.type org.apache.shardingsphere.infra.executor.sql.context org.apache.shardingsphere.infra.executor.sql.execute.engine org.apache.shardingsphere.infra.executor.sql.execute.engine.driver org.apache.shardingsphere.infra.spi.type.typed |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 3 | 33.0% | 75.0% | 8.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.ExecutorJDBCStatementManager |
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.JDBCDriverType org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.StatementOption |
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder |
java.lang java.sql org.apache.shardingsphere.infra.executor.sql.prepare.driver |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 9 | 33.0% | 100.0% | 33.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder.JDBCExecutionUnitBuilder |
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder.PreparedStatementExecutionUnitBuilder org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.builder.StatementExecutionUnitBuilder |
None | java.lang java.sql org.apache.shardingsphere.infra.database.core.type org.apache.shardingsphere.infra.executor.sql.context org.apache.shardingsphere.infra.executor.sql.execute.engine org.apache.shardingsphere.infra.executor.sql.execute.engine.driver org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc org.apache.shardingsphere.infra.executor.sql.prepare.driver org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
4 | 8 | 0.0% | 67.0% | 33.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.process.ProcessEngine |
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc org.apache.shardingsphere.infra.executor.sql.execute.engine.raw org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback org.apache.shardingsphere.infra.executor.sql.process.yaml.swapper |
com.google.common.base java.lang java.util java.util.concurrent org.apache.shardingsphere.infra.executor.kernel.model org.apache.shardingsphere.infra.executor.sql.execute.engine org.apache.shardingsphere.infra.metadata.user org.apache.shardingsphere.infra.session.query |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 3 | 33.0% | 100.0% | 33.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.shardingsphere.infra.executor.sql.process.lock.ProcessOperationLockReleaseStrategy |
org.apache.shardingsphere.infra.executor.sql.process.lock.ProcessOperationLock org.apache.shardingsphere.infra.executor.sql.process.lock.ProcessOperationLockRegistry |
None | java.lang java.util java.util.concurrent |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 3 | 0.0% | 75.0% | 25.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.process.yaml.YamlProcess org.apache.shardingsphere.infra.executor.sql.process.yaml.YamlProcessList |
org.apache.shardingsphere.infra.executor.sql.process.yaml.swapper |
java.lang java.util org.apache.shardingsphere.infra.util.yaml |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 6 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.shardingsphere.infra.executor.sql.process.yaml.swapper.YamlProcessSwapper |
None | java.lang java.util.concurrent.atomic org.apache.shardingsphere.infra.executor.sql.process org.apache.shardingsphere.infra.executor.sql.process.yaml org.apache.shardingsphere.infra.util.yaml org.apache.shardingsphere.infra.util.yaml.swapper |
Package | Package Dependencies |
---|---|
org.apache.shardingsphere.infra.executor.sql.execute.engine.raw | org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback org.apache.shardingsphere.infra.executor.sql.execute.engine.raw |
org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback | org.apache.shardingsphere.infra.executor.sql.execute.engine.raw org.apache.shardingsphere.infra.executor.sql.execute.engine.raw.callback |
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. |