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.opendaylight.controller.config.yang.bgp.path.selection.mode 11 4 7 0 10 64.0% 100.0% 64.0% 1
org.opendaylight.protocol.bgp.mode.api 4 0 4 6 9 100.0% 60.000004% 60.000004% 1
org.opendaylight.protocol.bgp.mode.impl 3 3 0 3 15 0.0% 83.0% 17.0% 1
org.opendaylight.protocol.bgp.mode.impl.add 5 5 0 2 12 0.0% 86.0% 14.0% 1
org.opendaylight.protocol.bgp.mode.impl.add.all.paths 4 3 1 1 11 25.0% 92.0% 17.0% 1
org.opendaylight.protocol.bgp.mode.impl.add.n.paths 4 3 1 1 9 25.0% 90.0% 15.000001% 1
org.opendaylight.protocol.bgp.mode.impl.base 7 7 0 0 13 0.0% 100.0% 0.0% 1
org.opendaylight.protocol.bgp.mode.spi 3 1 2 4 19 67.0% 83.0% 49.0% 1
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301 5 2 3 0 7 60.000004% 100.0% 60.000004% 1
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration 8 6 2 0 6 25.0% 100.0% 25.0% 1

Packages

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

org.opendaylight.controller.config.yang.bgp.path.selection.mode

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 64.0% 100.0% 64.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AbstractAdvertiseAllPathsModule
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AbstractAdvertiseAllPathsModuleFactory
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AbstractAdvertiseNPathsModule
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AbstractAdvertiseNPathsModuleFactory
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AdvertiseAllPathsModuleMXBean
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AdvertiseNPathsModuleMXBean
org.opendaylight.controller.config.yang.bgp.path.selection.mode.PathSelectionModeServiceInterface
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AdvertiseAllPathsModule
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AdvertiseAllPathsModuleFactory
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AdvertiseNPathsModule
org.opendaylight.controller.config.yang.bgp.path.selection.mode.AdvertiseNPathsModuleFactory
None java.lang
java.lang.reflect
java.util
org.opendaylight.controller.config.api
org.opendaylight.controller.config.api.annotations
org.opendaylight.controller.config.spi
org.opendaylight.protocol.bgp.mode.impl.add.all.paths
org.opendaylight.protocol.bgp.mode.impl.add.n.paths
org.osgi.framework
org.slf4j

org.opendaylight.protocol.bgp.mode.api

Afferent Couplings Efferent Couplings Abstractness Instability Distance
6 9 100.0% 60.000004% 60.000004%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.opendaylight.protocol.bgp.mode.api.BestPath
org.opendaylight.protocol.bgp.mode.api.BestPathState
org.opendaylight.protocol.bgp.mode.api.PathSelectionMode
org.opendaylight.protocol.bgp.mode.api.RouteEntry
None org.opendaylight.protocol.bgp.mode.impl
org.opendaylight.protocol.bgp.mode.impl.add
org.opendaylight.protocol.bgp.mode.impl.add.all.paths
org.opendaylight.protocol.bgp.mode.impl.add.n.paths
org.opendaylight.protocol.bgp.mode.impl.base
org.opendaylight.protocol.bgp.mode.spi
com.google.common.primitives
java.lang
org.opendaylight.controller.md.sal.dom.api
org.opendaylight.protocol.bgp.rib.spi
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.rib
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919
org.opendaylight.yangtools.yang.data.api
org.opendaylight.yangtools.yang.data.api.schema

org.opendaylight.protocol.bgp.mode.impl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 15 0.0% 83.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.opendaylight.protocol.bgp.mode.impl.BestPathStateImpl
org.opendaylight.protocol.bgp.mode.impl.BestPathStateImpl$1
org.opendaylight.protocol.bgp.mode.impl.BestPathStateImpl$NamespaceSpecificIds
org.opendaylight.protocol.bgp.mode.impl.add
org.opendaylight.protocol.bgp.mode.impl.add.all.paths
org.opendaylight.protocol.bgp.mode.impl.base
com.google.common.base
com.google.common.cache
com.google.common.collect
java.lang
java.util
java.util.concurrent
org.opendaylight.protocol.bgp.mode.api
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.path.attributes.attributes
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.path.attributes.attributes.as.path
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919
org.opendaylight.yangtools.yang.common
org.opendaylight.yangtools.yang.data.api
org.opendaylight.yangtools.yang.data.api.schema
org.slf4j

org.opendaylight.protocol.bgp.mode.impl.add

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 12 0.0% 86.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.opendaylight.protocol.bgp.mode.impl.add.AddPathAbstractRouteEntry$RemovedPath
org.opendaylight.protocol.bgp.mode.impl.add.AddPathBestPath
org.opendaylight.protocol.bgp.mode.impl.add.AddPathSelector
org.opendaylight.protocol.bgp.mode.impl.add.OffsetMap$1
org.opendaylight.protocol.bgp.mode.impl.add.RouteKey
org.opendaylight.protocol.bgp.mode.impl.add.all.paths
org.opendaylight.protocol.bgp.mode.impl.add.n.paths
com.google.common.base
com.google.common.cache
com.google.common.primitives
java.lang
java.util
org.opendaylight.protocol.bgp.mode.api
org.opendaylight.protocol.bgp.mode.impl
org.opendaylight.protocol.bgp.mode.spi
org.opendaylight.protocol.bgp.rib.spi
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925
org.opendaylight.yangtools.yang.data.api.schema
org.slf4j

org.opendaylight.protocol.bgp.mode.impl.add.all.paths

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 25.0% 92.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.opendaylight.protocol.bgp.mode.impl.add.all.paths.AbstractAllPathsRouteEntry
org.opendaylight.protocol.bgp.mode.impl.add.all.paths.AllPathSelection
org.opendaylight.protocol.bgp.mode.impl.add.all.paths.ComplexRouteEntry
org.opendaylight.protocol.bgp.mode.impl.add.all.paths.SimpleRouteEntry
org.opendaylight.controller.config.yang.bgp.path.selection.mode
com.google.common.base
com.google.common.collect
com.google.common.primitives
java.lang
java.util
org.opendaylight.protocol.bgp.mode.api
org.opendaylight.protocol.bgp.mode.impl
org.opendaylight.protocol.bgp.mode.impl.add
org.opendaylight.protocol.bgp.mode.spi
org.opendaylight.yangtools.yang.data.api
org.opendaylight.yangtools.yang.data.api.schema

org.opendaylight.protocol.bgp.mode.impl.add.n.paths

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.opendaylight.protocol.bgp.mode.impl.add.n.paths.AbstractNPathsRouteEntry
org.opendaylight.protocol.bgp.mode.impl.add.n.paths.AddPathBestNPathSelection
org.opendaylight.protocol.bgp.mode.impl.add.n.paths.ComplexRouteEntry
org.opendaylight.protocol.bgp.mode.impl.add.n.paths.SimpleRouteEntry
org.opendaylight.controller.config.yang.bgp.path.selection.mode
com.google.common.collect
com.google.common.primitives
java.lang
java.util
org.opendaylight.protocol.bgp.mode.api
org.opendaylight.protocol.bgp.mode.impl.add
org.opendaylight.protocol.bgp.mode.spi
org.opendaylight.yangtools.yang.data.api
org.opendaylight.yangtools.yang.data.api.schema

org.opendaylight.protocol.bgp.mode.impl.base

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 13 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.opendaylight.protocol.bgp.mode.impl.base.BaseBestPath
org.opendaylight.protocol.bgp.mode.impl.base.BaseComplexRouteEntry
org.opendaylight.protocol.bgp.mode.impl.base.BasePathSelection
org.opendaylight.protocol.bgp.mode.impl.base.BasePathSelectionModeFactory
org.opendaylight.protocol.bgp.mode.impl.base.BasePathSelector
org.opendaylight.protocol.bgp.mode.impl.base.BaseSimpleRouteEntry
org.opendaylight.protocol.bgp.mode.impl.base.OffsetMap$1
None com.google.common.base
com.google.common.cache
com.google.common.primitives
java.lang
java.util
org.opendaylight.protocol.bgp.mode.api
org.opendaylight.protocol.bgp.mode.impl
org.opendaylight.protocol.bgp.mode.spi
org.opendaylight.protocol.bgp.rib.spi
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925
org.opendaylight.yangtools.yang.data.api
org.opendaylight.yangtools.yang.data.api.schema
org.slf4j

org.opendaylight.protocol.bgp.mode.spi

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 19 67.0% 83.0% 49.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.opendaylight.protocol.bgp.mode.spi.AbstractBestPath
org.opendaylight.protocol.bgp.mode.spi.AbstractRouteEntry
org.opendaylight.protocol.bgp.mode.spi.AbstractBestPathSelector
org.opendaylight.protocol.bgp.mode.impl.add
org.opendaylight.protocol.bgp.mode.impl.add.all.paths
org.opendaylight.protocol.bgp.mode.impl.add.n.paths
org.opendaylight.protocol.bgp.mode.impl.base
com.google.common.base
com.google.common.collect
com.google.common.primitives
java.lang
java.util
org.opendaylight.controller.md.sal.common.api.data
org.opendaylight.controller.md.sal.dom.api
org.opendaylight.protocol.bgp.mode.api
org.opendaylight.protocol.bgp.rib.spi
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.bgp.rib.rib.peer
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.rib
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.rib.tables
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919
org.opendaylight.yangtools.yang.common
org.opendaylight.yangtools.yang.data.api
org.opendaylight.yangtools.yang.data.api.schema
org.slf4j

org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 7 60.000004% 100.0% 60.000004%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.AdvertiseAllPaths
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.AdvertiseNPaths
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.PathSelectionModeFactory
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.$YangModelBindingProvider
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.$YangModuleInfoImpl
None com.google.common.collect
java.io
java.lang
java.util
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.config.rev130405
org.opendaylight.yangtools.yang.binding
org.opendaylight.yangtools.yang.common

org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 25.0% 100.0% 25.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseAllPaths
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseNPaths
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseAllPathsBuilder
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseAllPathsBuilder$1
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseAllPathsBuilder$AdvertiseAllPathsImpl
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseNPathsBuilder
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseNPathsBuilder$1
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.rev160301.modules.module.configuration.AdvertiseNPathsBuilder$AdvertiseNPathsImpl
None java.lang
java.util
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.config.rev130405.modules.module
org.opendaylight.yangtools.concepts
org.opendaylight.yangtools.yang.binding
org.opendaylight.yangtools.yang.common

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.