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
de.smartics.testdoc.collect.extractor 11 10 1 1 12 9.0% 92.0% 1.0% 1
de.smartics.testdoc.collect.generator 5 5 0 0 10 0.0% 100.0% 0.0% 1
de.smartics.testdoc.collect.processor 4 4 0 1 15 0.0% 94.0% 6.0% 1
de.smartics.testdoc.core 2 2 0 3 2 0.0% 40.0% 60.000004% 1
de.smartics.testdoc.core.adapter 18 13 5 2 14 28.0% 88.0% 15.000001% 1
de.smartics.testdoc.core.doc 10 9 1 4 7 10.0% 64.0% 26.0% 1
de.smartics.testdoc.core.doc.names 3 2 1 2 3 33.0% 60.000004% 7.0% 1
de.smartics.testdoc.core.export 9 5 4 3 11 44.0% 79.0% 23.0% 1
de.smartics.testdoc.core.source 4 3 1 2 6 25.0% 75.0% 0.0% 1

Packages

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

de.smartics.testdoc.collect.extractor

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 12 9.0% 92.0% 1.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
de.smartics.testdoc.collect.extractor.AbstractExtractor
de.smartics.testdoc.collect.extractor.CategoryExtractor
de.smartics.testdoc.collect.extractor.ExtractorConfig
de.smartics.testdoc.collect.extractor.ExtractorException
de.smartics.testdoc.collect.extractor.TestDocAnnotationExtractor
de.smartics.testdoc.collect.extractor.TestDocAnnotationExtractor$UutInfo
de.smartics.testdoc.collect.extractor.TestDocHintsExtractor
de.smartics.testdoc.collect.extractor.TestDocHintsExtractor$Hints
de.smartics.testdoc.collect.extractor.TestDocMethodExtractor
de.smartics.testdoc.collect.extractor.TestDocTypeExtractor
de.smartics.testdoc.collect.extractor.TestDocVariableExtractor
de.smartics.testdoc.collect.processor
de.smartics.testdoc.annotations
de.smartics.testdoc.core.doc
de.smartics.testdoc.core.doc.names
de.smartics.testdoc.core.source
java.lang
java.util
javax.lang.model.element
javax.lang.model.util
org.apache.commons.lang
org.junit
org.junit.experimental.categories
org.junit.experimental.theories

de.smartics.testdoc.collect.generator

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None de.smartics.testdoc.collect.generator.TestDocGenerator
de.smartics.testdoc.collect.generator.TestDocGenerator$1
de.smartics.testdoc.collect.generator.TestDocGenerator$Config
de.smartics.testdoc.collect.generator.TestDocGenerator$Config$Builder
de.smartics.testdoc.collect.generator.TestDocGenerator$Diagnostics
None de.smartics.testdoc.collect.processor
de.smartics.testdoc.core
de.smartics.testdoc.core.adapter
de.smartics.testdoc.core.export
java.io
java.lang
java.nio.charset
java.util
javax.tools
org.apache.commons.io

de.smartics.testdoc.collect.processor

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 de.smartics.testdoc.collect.processor.AnnotationLogHelper
de.smartics.testdoc.collect.processor.ProcessorLogHelper
de.smartics.testdoc.collect.processor.TestDocProcessor
de.smartics.testdoc.collect.processor.UutProcess
de.smartics.testdoc.collect.generator
de.smartics.testdoc.collect.extractor
de.smartics.testdoc.core
de.smartics.testdoc.core.adapter
de.smartics.testdoc.core.doc
de.smartics.testdoc.core.doc.names
de.smartics.testdoc.core.export
de.smartics.testdoc.core.source
java.io
java.lang
java.util
java.util.logging
javax.annotation.processing
javax.lang.model.element
javax.tools
org.apache.commons.lang

de.smartics.testdoc.core

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 2 0.0% 40.0% 60.000004%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None de.smartics.testdoc.core.BlankArgumentException
de.smartics.testdoc.core.TestDocProperty
de.smartics.testdoc.collect.generator
de.smartics.testdoc.collect.processor
de.smartics.testdoc.core.doc
de.smartics.properties.core
java.lang

de.smartics.testdoc.core.adapter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 14 28.0% 88.0% 15.000001%
Abstract Classes Concrete Classes Used by Packages Uses Packages
de.smartics.testdoc.core.adapter.AbstractFileBasedExportAdapter
de.smartics.testdoc.core.adapter.AbstractInMemoryExportAdapter
de.smartics.testdoc.core.adapter.IndexProvider
de.smartics.testdoc.core.adapter.IndexProvider$UnitTestDocLoader
de.smartics.testdoc.core.adapter.JmxExportAdapterMBean
de.smartics.testdoc.core.adapter.AbstractFileBasedExportAdapter$1
de.smartics.testdoc.core.adapter.BasedFilerSingletonInMemoryExportAdapter
de.smartics.testdoc.core.adapter.DirectoryExportAdapter
de.smartics.testdoc.core.adapter.DirectoryUnitTestDocLoader
de.smartics.testdoc.core.adapter.FilerExportAdapter
de.smartics.testdoc.core.adapter.GlobalUnitTestDocIndex
de.smartics.testdoc.core.adapter.ImportException
de.smartics.testdoc.core.adapter.JmxExportAdapter
de.smartics.testdoc.core.adapter.JmxExportAdapterClient
de.smartics.testdoc.core.adapter.MultiExportAdapter
de.smartics.testdoc.core.adapter.MultiUnitTestDocLoader
de.smartics.testdoc.core.adapter.PersistenceUtils
de.smartics.testdoc.core.adapter.SingletonInMemoryExportAdapter
de.smartics.testdoc.collect.generator
de.smartics.testdoc.collect.processor
de.smartics.testdoc.core.doc
de.smartics.testdoc.core.export
java.io
java.lang
java.lang.management
java.net
java.util
javax.annotation.processing
javax.lang.model.element
javax.management
javax.tools
org.apache.commons.io
org.apache.commons.io.output
org.apache.commons.lang

de.smartics.testdoc.core.doc

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 7 10.0% 64.0% 26.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
de.smartics.testdoc.core.doc.OutputManager
de.smartics.testdoc.core.doc.FileHelper
de.smartics.testdoc.core.doc.ScenarioTestDoc
de.smartics.testdoc.core.doc.SortKey
de.smartics.testdoc.core.doc.TestMethodDoc
de.smartics.testdoc.core.doc.Type
de.smartics.testdoc.core.doc.UnitTestDoc
de.smartics.testdoc.core.doc.UnitTestDocIndex
de.smartics.testdoc.core.doc.UnitTestDocNaturalComparator
de.smartics.testdoc.core.doc.UnitTestDocTypeSimpleNameComparator
de.smartics.testdoc.collect.extractor
de.smartics.testdoc.collect.processor
de.smartics.testdoc.core.adapter
de.smartics.testdoc.core.export
de.smartics.testdoc.core
de.smartics.util.source
java.io
java.lang
java.util
org.apache.commons.io
org.apache.commons.lang

de.smartics.testdoc.core.doc.names

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 3 33.0% 60.000004% 7.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
de.smartics.testdoc.core.doc.names.TestNameUtils
de.smartics.testdoc.core.doc.names.CaseSensitiveTestNameUtils
de.smartics.testdoc.core.doc.names.EnglishTestNameUtils
de.smartics.testdoc.collect.extractor
de.smartics.testdoc.collect.processor
java.lang
java.util
org.apache.commons.lang

de.smartics.testdoc.core.export

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 11 44.0% 79.0% 23.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
de.smartics.testdoc.core.export.AbstractExportAdapter
de.smartics.testdoc.core.export.AbstractOutputManager
de.smartics.testdoc.core.export.ExportAdapter
de.smartics.testdoc.core.export.UnitTestDocExporter
de.smartics.testdoc.core.export.ExportException
de.smartics.testdoc.core.export.FileOutputManager
de.smartics.testdoc.core.export.UnitTestDocIndexExporter
de.smartics.testdoc.core.export.XmlDocumentBuilder
de.smartics.testdoc.core.export.XmlExporter
de.smartics.testdoc.collect.generator
de.smartics.testdoc.collect.processor
de.smartics.testdoc.core.adapter
de.smartics.testdoc.core.doc
java.io
java.lang
java.util
javax.xml.parsers
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.stream
org.apache.commons.io
org.apache.commons.lang
org.w3c.dom

de.smartics.testdoc.core.source

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 6 25.0% 75.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
de.smartics.testdoc.core.source.SourceCodeHelper
de.smartics.testdoc.core.source.DummySourceCodeHelper
de.smartics.testdoc.core.source.SourceCodeHelperFactory
de.smartics.testdoc.core.source.SunSourceCodeHelper
de.smartics.testdoc.collect.extractor
de.smartics.testdoc.collect.processor
com.sun.source.tree
com.sun.source.util
de.smartics.util.source
java.lang
javax.annotation.processing
javax.lang.model.element

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.