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.examples 85 80 5 0 30 6.0% 100.0% 6.0% 1
org.apache.giraph.examples.block_app 4 4 0 0 9 0.0% 100.0% 0.0% 1
org.apache.giraph.examples.io.formats 2 2 0 0 12 0.0% 100.0% 0.0% 1
org.apache.giraph.examples.scc 8 8 0 0 14 0.0% 100.0% 0.0% 1
org.apache.giraph.examples.utils 2 2 0 2 4 0.0% 67.0% 33.0% 1

Packages

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

org.apache.giraph.examples

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 30 6.0% 100.0% 6.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.giraph.examples.Algorithm
org.apache.giraph.examples.GeneratedEdgeReader
org.apache.giraph.examples.GeneratedVertexReader
org.apache.giraph.examples.RandomWalkComputation
org.apache.giraph.examples.SimpleLongDoubleDoubleDoubleIdentityComputation
org.apache.giraph.examples.AggregatorsTestComputation
org.apache.giraph.examples.AggregatorsTestComputation$AggregatorsTestMasterCompute
org.apache.giraph.examples.AggregatorsTestComputation$SimpleEdgeInputFormat
org.apache.giraph.examples.AggregatorsTestComputation$SimpleEdgeReader
org.apache.giraph.examples.AggregatorsTestComputation$SimpleVertexInputFormat
org.apache.giraph.examples.AggregatorsTestComputation$SimpleVertexReader
org.apache.giraph.examples.BrachaTouegDeadlockComputation
org.apache.giraph.examples.ConnectedComponentsComputation
org.apache.giraph.examples.IdentityComputation
org.apache.giraph.examples.LongDoubleDoubleTextInputFormat
org.apache.giraph.examples.LongDoubleDoubleTextInputFormat$LongDoubleDoubleDoubleVertexReader
org.apache.giraph.examples.LongDoubleFloatTextInputFormat
org.apache.giraph.examples.LongDoubleFloatTextInputFormat$LongDoubleFloatVertexReader
org.apache.giraph.examples.LongDoubleNullTextInputFormat
org.apache.giraph.examples.LongDoubleNullTextInputFormat$LongDoubleNullDoubleVertexReader
org.apache.giraph.examples.MaxComputation
org.apache.giraph.examples.NormalizingLongDoubleDoubleTextInputFormat
org.apache.giraph.examples.NormalizingLongDoubleDoubleTextInputFormat$NormalizingLongDoubleDoubleDoubleVertexReader
org.apache.giraph.examples.PageRankComputation
org.apache.giraph.examples.PageRankWithKryoSimpleWritable
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$DoubleMaxWrapperAggregator
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$DoubleMinWrapperAggregator
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$EdgeValue
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$MessageValue
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$PageRankWithKryoMasterCompute
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$PageRankWithKryoVertexInputFormat
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$PageRankWithKryoVertexReader
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$PageRankWithKryoWorkerContext
org.apache.giraph.examples.PageRankWithKryoSimpleWritable$VertexValue
org.apache.giraph.examples.RandomWalkVertexMasterCompute
org.apache.giraph.examples.RandomWalkWithRestartComputation
org.apache.giraph.examples.RandomWalkWorkerContext
org.apache.giraph.examples.SimpleAggregatorWriter
org.apache.giraph.examples.SimpleCheckpoint
org.apache.giraph.examples.SimpleCheckpoint$SimpleCheckpointComputation
org.apache.giraph.examples.SimpleCheckpoint$SimpleCheckpointVertexMasterCompute
org.apache.giraph.examples.SimpleCheckpoint$SimpleCheckpointVertexWorkerContext
org.apache.giraph.examples.SimpleCombinerComputation
org.apache.giraph.examples.SimpleFailComputation
org.apache.giraph.examples.SimpleInDegreeCountComputation
org.apache.giraph.examples.SimpleMasterComputeComputation
org.apache.giraph.examples.SimpleMasterComputeComputation$SimpleMasterCompute
org.apache.giraph.examples.SimpleMasterComputeComputation$SimpleMasterComputeWorkerContext
org.apache.giraph.examples.SimpleMsgComputation
org.apache.giraph.examples.SimpleMutateGraphComputation
org.apache.giraph.examples.SimpleMutateGraphComputation$SimpleMutateGraphVertexWorkerContext
org.apache.giraph.examples.SimpleOutDegreeCountComputation
org.apache.giraph.examples.SimplePageRankComputation
org.apache.giraph.examples.SimplePageRankComputation$SimplePageRankMasterCompute
org.apache.giraph.examples.SimplePageRankComputation$SimplePageRankVertexInputFormat
org.apache.giraph.examples.SimplePageRankComputation$SimplePageRankVertexOutputFormat
org.apache.giraph.examples.SimplePageRankComputation$SimplePageRankVertexOutputFormat$SimplePageRankVertexWriter
org.apache.giraph.examples.SimplePageRankComputation$SimplePageRankVertexReader
org.apache.giraph.examples.SimplePageRankComputation$SimplePageRankWorkerContext
org.apache.giraph.examples.SimpleShortestPathsComputation
org.apache.giraph.examples.SimpleSuperstepComputation
org.apache.giraph.examples.SimpleSuperstepComputation$SimpleSuperstepVertexInputFormat
org.apache.giraph.examples.SimpleSuperstepComputation$SimpleSuperstepVertexOutputFormat
org.apache.giraph.examples.SimpleSuperstepComputation$SimpleSuperstepVertexOutputFormat$SimpleSuperstepVertexWriter
org.apache.giraph.examples.SimpleSuperstepComputation$SimpleSuperstepVertexReader
org.apache.giraph.examples.SimpleTextVertexOutputFormat
org.apache.giraph.examples.SimpleTextVertexOutputFormat$1
org.apache.giraph.examples.SimpleTextVertexOutputFormat$SimpleTextVertexWriter
org.apache.giraph.examples.SimpleTriangleClosingComputation
org.apache.giraph.examples.SimpleTriangleClosingComputation$IntArrayListWritable
org.apache.giraph.examples.SimpleTriangleClosingComputation$Pair
org.apache.giraph.examples.SimpleVertexWithWorkerContext
org.apache.giraph.examples.SimpleVertexWithWorkerContext$EmitterWorkerContext
org.apache.giraph.examples.SimpleVertexWithWorkerContext$SimpleComputation
org.apache.giraph.examples.TestComputationStateComputation
org.apache.giraph.examples.TestComputationStateComputation$TestComputationStateWorkerContext
org.apache.giraph.examples.VerifyMessage
org.apache.giraph.examples.VerifyMessage$VerifiableMessage
org.apache.giraph.examples.VerifyMessage$VerifyMessageComputation
org.apache.giraph.examples.VerifyMessage$VerifyMessageComputation$VerifyMessageVertexWorkerContext
org.apache.giraph.examples.VerifyMessage$VerifyMessageMasterCompute
org.apache.giraph.examples.VertexWithDoubleValueDoubleEdgeTextOutputFormat
org.apache.giraph.examples.VertexWithDoubleValueDoubleEdgeTextOutputFormat$VertexWithDoubleValueWriter
org.apache.giraph.examples.VertexWithDoubleValueNullEdgeTextOutputFormat
org.apache.giraph.examples.VertexWithDoubleValueNullEdgeTextOutputFormat$VertexWithDoubleValueWriter
None com.google.common.base
com.google.common.collect
java.io
java.lang
java.lang.annotation
java.nio.charset
java.util
java.util.concurrent.atomic
java.util.regex
org.apache.commons.cli
org.apache.giraph.aggregators
org.apache.giraph.bsp
org.apache.giraph.conf
org.apache.giraph.edge
org.apache.giraph.examples.utils
org.apache.giraph.graph
org.apache.giraph.io
org.apache.giraph.io.formats
org.apache.giraph.job
org.apache.giraph.master
org.apache.giraph.utils
org.apache.giraph.worker
org.apache.giraph.writable.kryo
org.apache.hadoop.conf
org.apache.hadoop.filecache
org.apache.hadoop.fs
org.apache.hadoop.io
org.apache.hadoop.mapreduce
org.apache.hadoop.util
org.apache.log4j

org.apache.giraph.examples.block_app

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.giraph.examples.block_app.SimpleMigrationMasterBlockFactory
org.apache.giraph.examples.block_app.SimpleMigrationMasterBlockFactory$SimpleMigrationMasterComputation
org.apache.giraph.examples.block_app.SimpleMigrationMasterBlockFactory$SimpleMigrationMasterCompute
org.apache.giraph.examples.block_app.SimpleMigrationMasterBlockFactory$SimpleMigrationMasterWorkerContext
None java.io
java.lang
org.apache.giraph.aggregators
org.apache.giraph.block_app.framework.block
org.apache.giraph.block_app.migration
org.apache.giraph.conf
org.apache.giraph.graph
org.apache.hadoop.io
org.apache.log4j

org.apache.giraph.examples.io.formats

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.giraph.examples.io.formats.BrachaTouegDeadlockInputFormat
org.apache.giraph.examples.io.formats.BrachaTouegDeadlockInputFormat$JsonLongLongLongLongVertexReader
None com.google.common.collect
java.io
java.lang
java.util
org.apache.giraph.edge
org.apache.giraph.examples.utils
org.apache.giraph.graph
org.apache.giraph.io
org.apache.giraph.io.formats
org.apache.hadoop.io
org.apache.hadoop.mapreduce
org.json

org.apache.giraph.examples.scc

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 14 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.giraph.examples.scc.SccComputation
org.apache.giraph.examples.scc.SccComputation$1
org.apache.giraph.examples.scc.SccLongLongNullTextInputFormat
org.apache.giraph.examples.scc.SccLongLongNullTextInputFormat$LongLongNullVertexReader
org.apache.giraph.examples.scc.SccPhaseMasterCompute
org.apache.giraph.examples.scc.SccPhaseMasterCompute$1
org.apache.giraph.examples.scc.SccPhaseMasterCompute$Phases
org.apache.giraph.examples.scc.SccVertexValue
None com.google.common.collect
it.unimi.dsi.fastutil.longs
java.io
java.lang
java.util
java.util.regex
org.apache.giraph.aggregators
org.apache.giraph.edge
org.apache.giraph.graph
org.apache.giraph.io
org.apache.giraph.io.formats
org.apache.giraph.master
org.apache.hadoop.io
org.apache.hadoop.mapreduce

org.apache.giraph.examples.utils

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.giraph.examples.utils.BrachaTouegDeadlockMessage
org.apache.giraph.examples.utils.BrachaTouegDeadlockVertexValue
org.apache.giraph.examples
org.apache.giraph.examples.io.formats
java.io
java.lang
java.util
org.apache.hadoop.io

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.