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.shardingsphere.mode.node.path 2 0 2 20 2 100.0% 9.0% 9.0% 1
org.apache.shardingsphere.mode.node.path.engine.generator 3 3 0 2 4 0.0% 67.0% 33.0% 1
org.apache.shardingsphere.mode.node.path.engine.searcher 2 2 0 13 2 0.0% 13.0% 87.0% 1
org.apache.shardingsphere.mode.node.path.type.database.metadata 1 1 0 3 3 0.0% 50.0% 50.0% 1
org.apache.shardingsphere.mode.node.path.type.database.metadata.datasource 2 2 0 0 4 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.database.metadata.rule 2 2 0 0 4 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.database.metadata.schema 3 3 0 0 4 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.database.statistics 5 5 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.config 2 2 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.execution 1 1 0 0 2 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.node.compute.label 1 1 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.node.compute.process 3 3 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.node.compute.status 2 2 0 0 4 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.node.compute.workerid 1 1 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.node.storage 1 1 0 0 4 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.reservation 1 1 0 0 2 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.state 2 2 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.global.state.coordinator 3 3 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.type.lock 1 1 0 0 2 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.path.version 2 2 0 0 4 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.rule.node 1 1 0 0 2 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.rule.tuple 1 1 0 0 3 0.0% 100.0% 0.0% 1
org.apache.shardingsphere.mode.node.rule.tuple.annotation 5 1 4 0 2 80.0% 100.0% 80.0% 1

Packages

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

org.apache.shardingsphere.mode.node.path

Afferent Couplings Efferent Couplings Abstractness Instability Distance
20 2 100.0% 9.0% 9.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shardingsphere.mode.node.path.NodePath
org.apache.shardingsphere.mode.node.path.NodePathEntity
None org.apache.shardingsphere.mode.node.path.engine.generator
org.apache.shardingsphere.mode.node.path.engine.searcher
org.apache.shardingsphere.mode.node.path.type.database.metadata
org.apache.shardingsphere.mode.node.path.type.database.metadata.datasource
org.apache.shardingsphere.mode.node.path.type.database.metadata.rule
org.apache.shardingsphere.mode.node.path.type.database.metadata.schema
org.apache.shardingsphere.mode.node.path.type.database.statistics
org.apache.shardingsphere.mode.node.path.type.global.config
org.apache.shardingsphere.mode.node.path.type.global.execution
org.apache.shardingsphere.mode.node.path.type.global.node.compute.label
org.apache.shardingsphere.mode.node.path.type.global.node.compute.process
org.apache.shardingsphere.mode.node.path.type.global.node.compute.status
org.apache.shardingsphere.mode.node.path.type.global.node.compute.workerid
org.apache.shardingsphere.mode.node.path.type.global.node.storage
org.apache.shardingsphere.mode.node.path.type.global.reservation
org.apache.shardingsphere.mode.node.path.type.global.state
org.apache.shardingsphere.mode.node.path.type.global.state.coordinator
org.apache.shardingsphere.mode.node.path.type.lock
org.apache.shardingsphere.mode.node.path.version
org.apache.shardingsphere.mode.node.rule.tuple
java.lang
java.lang.annotation

org.apache.shardingsphere.mode.node.path.engine.generator

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 4 0.0% 67.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.engine.generator.NodePathGenerator
org.apache.shardingsphere.mode.node.path.engine.generator.NodePathSegment
org.apache.shardingsphere.mode.node.path.engine.generator.NodePathVariable
org.apache.shardingsphere.mode.node.path.version
org.apache.shardingsphere.mode.node.rule.tuple
java.lang
java.util
org.apache.shardingsphere.infra.util.reflection
org.apache.shardingsphere.mode.node.path

org.apache.shardingsphere.mode.node.path.engine.searcher

Afferent Couplings Efferent Couplings Abstractness Instability Distance
13 2 0.0% 13.0% 87.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.engine.searcher.NodePathPattern
org.apache.shardingsphere.mode.node.path.engine.searcher.NodePathSearchCriteria
org.apache.shardingsphere.mode.node.path.type.database.metadata
org.apache.shardingsphere.mode.node.path.type.database.metadata.datasource
org.apache.shardingsphere.mode.node.path.type.database.metadata.rule
org.apache.shardingsphere.mode.node.path.type.database.metadata.schema
org.apache.shardingsphere.mode.node.path.type.database.statistics
org.apache.shardingsphere.mode.node.path.type.global.config
org.apache.shardingsphere.mode.node.path.type.global.node.compute.label
org.apache.shardingsphere.mode.node.path.type.global.node.compute.process
org.apache.shardingsphere.mode.node.path.type.global.node.compute.status
org.apache.shardingsphere.mode.node.path.type.global.node.compute.workerid
org.apache.shardingsphere.mode.node.path.type.global.node.storage
org.apache.shardingsphere.mode.node.path.type.global.state
org.apache.shardingsphere.mode.node.path.type.global.state.coordinator
java.lang
org.apache.shardingsphere.mode.node.path

org.apache.shardingsphere.mode.node.path.type.database.metadata

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 3 0.0% 50.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.database.metadata.DatabaseMetaDataNodePath
org.apache.shardingsphere.mode.node.path.type.database.metadata.datasource
org.apache.shardingsphere.mode.node.path.type.database.metadata.rule
org.apache.shardingsphere.mode.node.path.type.database.metadata.schema
java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.database.metadata.datasource

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.database.metadata.datasource.StorageNodeNodePath
org.apache.shardingsphere.mode.node.path.type.database.metadata.datasource.StorageUnitNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher
org.apache.shardingsphere.mode.node.path.type.database.metadata

org.apache.shardingsphere.mode.node.path.type.database.metadata.rule

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.database.metadata.rule.DatabaseRuleItem
org.apache.shardingsphere.mode.node.path.type.database.metadata.rule.DatabaseRuleNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher
org.apache.shardingsphere.mode.node.path.type.database.metadata

org.apache.shardingsphere.mode.node.path.type.database.metadata.schema

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.database.metadata.schema.SchemaMetaDataNodePath
org.apache.shardingsphere.mode.node.path.type.database.metadata.schema.TableMetaDataNodePath
org.apache.shardingsphere.mode.node.path.type.database.metadata.schema.ViewMetaDataNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher
org.apache.shardingsphere.mode.node.path.type.database.metadata

org.apache.shardingsphere.mode.node.path.type.database.statistics

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.mode.node.path.type.database.statistics.StatisticsDataNodePath
org.apache.shardingsphere.mode.node.path.type.database.statistics.StatisticsDatabaseNodePath
org.apache.shardingsphere.mode.node.path.type.database.statistics.StatisticsJobNodePath
org.apache.shardingsphere.mode.node.path.type.database.statistics.StatisticsSchemaNodePath
org.apache.shardingsphere.mode.node.path.type.database.statistics.StatisticsTableNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.config

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.mode.node.path.type.global.config.GlobalPropertiesNodePath
org.apache.shardingsphere.mode.node.path.type.global.config.GlobalRuleNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.execution

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.global.execution.ProcessNodePath
None java.lang
org.apache.shardingsphere.mode.node.path

org.apache.shardingsphere.mode.node.path.type.global.node.compute.label

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.mode.node.path.type.global.node.compute.label.LabelNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.node.compute.process

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.mode.node.path.type.global.node.compute.process.InstanceProcessNodeValue
org.apache.shardingsphere.mode.node.path.type.global.node.compute.process.KillProcessTriggerNodePath
org.apache.shardingsphere.mode.node.path.type.global.node.compute.process.ShowProcessListTriggerNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.node.compute.status

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.global.node.compute.status.OnlineNodePath
org.apache.shardingsphere.mode.node.path.type.global.node.compute.status.StatusNodePath
None java.lang
org.apache.shardingsphere.infra.instance.metadata
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.node.compute.workerid

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.mode.node.path.type.global.node.compute.workerid.ComputeNodeWorkerIDNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.node.storage

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.global.node.storage.QualifiedDataSourceNodePath
None java.lang
org.apache.shardingsphere.infra.metadata.database.schema
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.reservation

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.global.reservation.WorkerIDReservationNodePath
None java.lang
org.apache.shardingsphere.mode.node.path

org.apache.shardingsphere.mode.node.path.type.global.state

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.mode.node.path.type.global.state.DatabaseListenerCoordinatorNodePath
org.apache.shardingsphere.mode.node.path.type.global.state.StateNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.global.state.coordinator

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.mode.node.path.type.global.state.coordinator.CoordinatorType
org.apache.shardingsphere.mode.node.path.type.global.state.coordinator.TableCoordinatorNodePath
org.apache.shardingsphere.mode.node.path.type.global.state.coordinator.TableCoordinatorTypeNodePath
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.searcher

org.apache.shardingsphere.mode.node.path.type.lock

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.type.lock.GlobalLockNodePath
None java.lang
org.apache.shardingsphere.mode.node.path

org.apache.shardingsphere.mode.node.path.version

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.path.version.MetaDataVersion
org.apache.shardingsphere.mode.node.path.version.VersionNodePath
None java.lang
java.util.regex
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.generator

org.apache.shardingsphere.mode.node.rule.node

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shardingsphere.mode.node.rule.node.DatabaseRuleNode
None java.lang
java.util

org.apache.shardingsphere.mode.node.rule.tuple

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.mode.node.rule.tuple.RuleNodeTuple
None java.lang
org.apache.shardingsphere.mode.node.path
org.apache.shardingsphere.mode.node.path.engine.generator

org.apache.shardingsphere.mode.node.rule.tuple.annotation

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 80.0% 100.0% 80.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleNodeTupleEntity
org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleNodeTupleField
org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleNodeTupleKeyListNameGenerator
org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleNodeTupleKeyListNameGenerator$Generator
org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleNodeTupleField$Type
None java.lang
java.lang.annotation

Cycles

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

There are no cyclic dependencies.

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.