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.giraph.io.gora 20 12 8 0 20 40.0% 100.0% 40.0% 1
org.apache.giraph.io.gora.constants 1 0 1 1 2 100.0% 67.0% 67.0% 1
org.apache.giraph.io.gora.generated 20 20 0 1 9 0.0% 90.0% 10.0% 1
org.apache.giraph.io.gora.utils 4 3 1 1 10 25.0% 91.0% 16.0% 1

Packages

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

org.apache.giraph.io.gora

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 20 40.0% 100.0% 40.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.giraph.io.gora.GoraEdgeInputFormat
org.apache.giraph.io.gora.GoraEdgeInputFormat$GoraEdgeReader
org.apache.giraph.io.gora.GoraEdgeOutputFormat
org.apache.giraph.io.gora.GoraEdgeOutputFormat$GoraEdgeWriter
org.apache.giraph.io.gora.GoraVertexInputFormat
org.apache.giraph.io.gora.GoraVertexInputFormat$GoraVertexReader
org.apache.giraph.io.gora.GoraVertexOutputFormat
org.apache.giraph.io.gora.GoraVertexOutputFormat$GoraVertexWriter
org.apache.giraph.io.gora.GoraEdgeOutputFormat$1
org.apache.giraph.io.gora.GoraEdgeOutputFormat$NullOutputCommitter
org.apache.giraph.io.gora.GoraGEdgeEdgeInputFormat
org.apache.giraph.io.gora.GoraGEdgeEdgeInputFormat$GoraGEdgeEdgeReader
org.apache.giraph.io.gora.GoraGEdgeEdgeOutputFormat
org.apache.giraph.io.gora.GoraGEdgeEdgeOutputFormat$GoraGEdgeEdgeWriter
org.apache.giraph.io.gora.GoraGVertexVertexInputFormat
org.apache.giraph.io.gora.GoraGVertexVertexInputFormat$GoraGVertexVertexReader
org.apache.giraph.io.gora.GoraGVertexVertexOutputFormat
org.apache.giraph.io.gora.GoraGVertexVertexOutputFormat$GoraGVertexVertexWriter
org.apache.giraph.io.gora.GoraVertexOutputFormat$1
org.apache.giraph.io.gora.GoraVertexOutputFormat$NullOutputCommitter
None java.io
java.lang
java.util
org.apache.giraph.conf
org.apache.giraph.edge
org.apache.giraph.graph
org.apache.giraph.io
org.apache.giraph.io.gora.constants
org.apache.giraph.io.gora.generated
org.apache.giraph.io.gora.utils
org.apache.gora.persistency
org.apache.gora.query
org.apache.gora.query.impl
org.apache.gora.store
org.apache.gora.util
org.apache.hadoop.conf
org.apache.hadoop.io
org.apache.hadoop.mapreduce
org.apache.log4j
org.apache.zookeeper

org.apache.giraph.io.gora.constants

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.giraph.io.gora.constants.GiraphGoraConstants
None org.apache.giraph.io.gora
java.lang
org.apache.giraph.conf

org.apache.giraph.io.gora.generated

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 0.0% 90.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.giraph.io.gora.generated.GEdge
org.apache.giraph.io.gora.generated.GEdge$1
org.apache.giraph.io.gora.generated.GEdge$Builder
org.apache.giraph.io.gora.generated.GEdge$Field
org.apache.giraph.io.gora.generated.GEdge$Tombstone
org.apache.giraph.io.gora.generated.GEdgeResult
org.apache.giraph.io.gora.generated.GEdgeResult$1
org.apache.giraph.io.gora.generated.GEdgeResult$Builder
org.apache.giraph.io.gora.generated.GEdgeResult$Field
org.apache.giraph.io.gora.generated.GEdgeResult$Tombstone
org.apache.giraph.io.gora.generated.GVertex
org.apache.giraph.io.gora.generated.GVertex$1
org.apache.giraph.io.gora.generated.GVertex$Builder
org.apache.giraph.io.gora.generated.GVertex$Field
org.apache.giraph.io.gora.generated.GVertex$Tombstone
org.apache.giraph.io.gora.generated.GVertexResult
org.apache.giraph.io.gora.generated.GVertexResult$1
org.apache.giraph.io.gora.generated.GVertexResult$Builder
org.apache.giraph.io.gora.generated.GVertexResult$Field
org.apache.giraph.io.gora.generated.GVertexResult$Tombstone
org.apache.giraph.io.gora
java.lang
java.nio
java.util
org.apache.avro
org.apache.avro.data
org.apache.avro.generic
org.apache.avro.specific
org.apache.gora.persistency
org.apache.gora.persistency.impl

org.apache.giraph.io.gora.utils

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 10 25.0% 91.0% 16.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.giraph.io.gora.utils.KeyFactory
org.apache.giraph.io.gora.utils.DefaultKeyFactory
org.apache.giraph.io.gora.utils.ExtraGoraInputFormat
org.apache.giraph.io.gora.utils.GoraUtils
org.apache.giraph.io.gora
java.io
java.lang
java.util
org.apache.gora.mapreduce
org.apache.gora.query
org.apache.gora.query.impl
org.apache.gora.store
org.apache.gora.util
org.apache.hadoop.conf
org.apache.hadoop.mapreduce

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.