Metric Results

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

The following document contains the results of a JDependmetric analysis. The various metrics are defined at the bottom of this document.

Summary

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

Package TC AC CC AC EC A I D
Default 3 0 3 0 6 0 100% 0%
common 3 1 2 8 3 0.33 27% 39%
common.log 2 0 2 1 3 0 75% 25%
jxl 27 18 9 7 12 0.67 63% 30%
jxl.biff 52 8 44 7 12 0.15 63% 21%
jxl.biff.drawing 43 3 40 5 8 0.07 62% 31%
jxl.biff.formula 65 10 55 5 7 0.15 58% 26%
jxl.demo 12 0 12 0 14 0 100% 0%
jxl.format 16 3 13 6 1 0.19 14% 67%
jxl.read.biff 111 5 106 6 11 0.05 65% 31%
jxl.write 31 4 27 4 10 0.13 71% 16%
jxl.write.biff 127 7 120 5 13 0.06 72% 22%
net.sf.flatpack.examples 4 1 3 0 22 0.25 100% 25%
net.sf.flatpack.examples.createsamplecsv 1 0 1 1 3 0 75% 25%
net.sf.flatpack.examples.csvheaderandtrailer 1 0 1 1 5 0 83% 17%
net.sf.flatpack.examples.csvperformancetest 1 0 1 1 5 0 83% 17%
net.sf.flatpack.examples.delimitedcolumnnamesinfile 1 0 1 0 6 0 100% 0%
net.sf.flatpack.examples.delimiteddynamiccolumns 1 0 1 1 6 0 86% 14%
net.sf.flatpack.examples.delimiteddynamiccolumnswitherrors 1 0 1 1 6 0 86% 14%
net.sf.flatpack.examples.exporttoexcel 1 0 1 1 7 0 88% 12%
net.sf.flatpack.examples.fixedlengthdynamiccolumns 1 0 1 1 4 0 80% 20%
net.sf.flatpack.examples.fixedlengthheaderandtrailer 1 0 1 1 5 0 83% 17%
net.sf.flatpack.examples.largedataset.delimiteddynamiccolumns 1 0 1 1 6 0 86% 14%
net.sf.flatpack.examples.largedataset.fixedlengthdynamiccolumns 1 0 1 1 5 0 83% 17%
net.sf.flatpack.examples.largedataset.largecsvperformancetest 1 0 1 1 6 0 86% 14%
net.sf.flatpack.examples.lowlevelparse 1 0 1 1 5 0 83% 17%
net.sf.flatpack.examples.multilinedelimitedrecord 1 0 1 1 5 0 83% 17%
net.sf.flatpack.examples.numericsanddates 1 0 1 1 5 0 83% 17%
org.jdom 28 3 25 7 9 0.11 56% 33%
org.jdom.adapters 8 2 6 1 7 0.25 88% 12%
org.jdom.filter 7 2 5 1 3 0.29 75% 4%
org.jdom.input 7 0 7 3 11 0 79% 21%
org.jdom.output 10 1 9 2 11 0.1 85% 5%
org.jdom.transform 8 0 8 0 12 0 100% 0%
org.jdom.xpath 4 1 3 0 7 0.25 100% 25%
org.slf4j 6 4 2 2 3 0.67 60% 27%
org.slf4j.impl 9 1 8 1 5 0.11 83% 6%
org.slf4j.spi 2 2 0 1 2 1 67% 67%

Packages

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

Default

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None
None

common

Afferent Couplings Efferent Couplings Abstractness Instability Distance
8 3 33% 27% 39%
Abstract Classes Concrete Classes Used by Packages Uses Packages

common.log

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 0% 75% 25%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

jxl.demo

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 14 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

jxl.format

Afferent Couplings Efferent Couplings Abstractness Instability Distance
6 1 19% 14% 67%
Abstract Classes Concrete Classes Used by Packages Uses Packages

jxl.read.biff

Afferent Couplings Efferent Couplings Abstractness Instability Distance
6 11 5% 65% 31%
Abstract Classes Concrete Classes Used by Packages Uses Packages

jxl.write.biff

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 13 6% 72% 22%
Abstract Classes Concrete Classes Used by Packages Uses Packages

net.sf.flatpack.examples.createsamplecsv

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 0% 75% 25%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.csvheaderandtrailer

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.csvperformancetest

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.delimitedcolumnnamesinfile

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 0% 100% 0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None None

net.sf.flatpack.examples.delimiteddynamiccolumns

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 0% 86% 14%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.delimiteddynamiccolumnswitherrors

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 0% 86% 14%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.exporttoexcel

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 0% 88% 12%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.fixedlengthdynamiccolumns

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 0% 80% 20%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.fixedlengthheaderandtrailer

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.largedataset.delimiteddynamiccolumns

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 0% 86% 14%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.largedataset.fixedlengthdynamiccolumns

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.largedataset.largecsvperformancetest

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 6 0% 86% 14%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.lowlevelparse

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.multilinedelimitedrecord

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

net.sf.flatpack.examples.numericsanddates

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 0% 83% 17%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.jdom.adapters

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 7 25% 88% 12%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.jdom.filter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 29% 75% 4%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.jdom.input

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 11 0% 79% 21%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.jdom.xpath

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 7 25% 100% 25%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

org.slf4j

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 3 67% 60% 27%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.slf4j.impl

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 11% 83% 6%
Abstract Classes Concrete Classes Used by Packages Uses Packages

org.slf4j.spi

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 2 100% 67% 67%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None

Cycles

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

Package Cyclic Dependencies
Default
  • org.jdom.input
  • org.jdom
  • org.jdom.output
  • org.jdom
common
  • common.log
  • common
common.log
  • common
  • common.log
jxl
  • jxl.biff
  • common
  • common.log
  • common
jxl.biff
  • common
  • common.log
  • common
jxl.biff.drawing
  • jxl.biff
  • common
  • common.log
  • common
jxl.biff.formula
  • common
  • common.log
  • common
jxl.demo
  • jxl.biff
  • common
  • common.log
  • common
jxl.read.biff
  • jxl.biff
  • common
  • common.log
  • common
jxl.write
  • jxl
  • jxl.biff
  • common
  • common.log
  • common
jxl.write.biff
  • jxl.biff
  • common
  • common.log
  • common
org.jdom
  • org.jdom.output
  • org.jdom
org.jdom.adapters
  • org.jdom
  • org.jdom.output
  • org.jdom
org.jdom.filter
  • org.jdom
  • org.jdom.output
  • org.jdom
org.jdom.input
  • org.jdom
  • org.jdom.output
  • org.jdom
org.jdom.output
  • org.jdom
  • org.jdom.output
org.jdom.transform
  • org.jdom.input
  • org.jdom
  • org.jdom.output
  • org.jdom
org.jdom.xpath
  • org.jdom
  • org.jdom.output
  • org.jdom
org.slf4j
  • org.slf4j.impl
  • org.slf4j
org.slf4j.impl
  • org.slf4j
  • org.slf4j.impl
org.slf4j.spi
  • org.slf4j
  • org.slf4j.impl
  • org.slf4j

Explanations

[ 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.