About Us Home Contributors License Components Sandbox Math Overview Proposal Developers Guide Javadoc Tasks: To Do User Guide Contents Overview Statistics Data Generation Linear Algebra Numerical Analysis Special Functions Utilities Complex Numbers Distributions Project Documentation About Math Project Info Project Reports Changes JavaDocs JavaDoc Report Metrics Unit Tests Source Xref Test Xref Project License Development Process General Information Charter Volunteering Contributing Patches Releasing Components Jakarta Community Get Involved Mailing Lists Access CVS Repositories Commons Resources (Unofficial) Wiki Japanese Translation Korean Translation Related Apache Commons DB Commons XML Commons | ### 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 | AC | CC | AC | EC | A | I | D
--- | --- | --- | --- | --- | --- | --- | --- | ---
org.apache.commons.math | 4 | 0 | 4 | 6 | 2 | 0 | 25% | 75%
org.apache.commons.math.analysis | 15 | 6 | 9 | 1 | 5 | 0.4 | 83% | 23%
org.apache.commons.math.complex | 3 | 0 | 3 | 0 | 5 | 0 | 100% | 0%
org.apache.commons.math.distribution | 28 | 17 | 11 | 2 | 7 | 0.61 | 78% | 38%
org.apache.commons.math.linear | 7 | 2 | 5 | 0 | 4 | 0.29 | 100% | 29%
org.apache.commons.math.random | 10 | 3 | 7 | 0 | 6 | 0.3 | 100% | 30%
org.apache.commons.math.special | 5 | 0 | 5 | 1 | 4 | 0 | 80% | 20%
org.apache.commons.math.stat | 4 | 0 | 4 | 1 | 8 | 0 | 89% | 11%
org.apache.commons.math.stat.descriptive | 10 | 7 | 3 | 6 | 8 | 0.7 | 57% | 27%
org.apache.commons.math.stat.descriptive.moment | 10 | 0 | 10 | 2 | 4 | 0 | 67% | 33%
org.apache.commons.math.stat.descriptive.rank | 4 | 0 | 4 | 2 | 4 | 0 | 67% | 33%
org.apache.commons.math.stat.descriptive.summary | 4 | 0 | 4 | 3 | 3 | 0 | 50% | 50%
org.apache.commons.math.stat.inference | 4 | 2 | 2 | 0 | 5 | 0.5 | 100% | 50%
org.apache.commons.math.stat.regression | 1 | 0 | 1 | 0 | 4 | 0 | 100% | 0%
org.apache.commons.math.util | 7 | 3 | 4 | 5 | 4 | 0.43 | 44% | 13%
### Packages [ summary ] [ packages ] [ cycles ] [ explanations ] #### org.apache.commons.math
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
6 | 2 | 0% | 25% | 75%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | ConvergenceException FunctionEvaluationException MathConfigurationException MathException | org.apache.commons.math.analysis org.apache.commons.math.distribution org.apache.commons.math.special org.apache.commons.math.stat.inference org.apache.commons.math.stat.regression org.apache.commons.math.util | java.io java.lang
#### org.apache.commons.math.analysis
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 5 | 40% | 83% | 23%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
DifferentiableUnivariateRealFunction UnivariateRealFunction UnivariateRealInterpolator UnivariateRealSolver UnivariateRealSolverFactory UnivariateRealSolverImpl | BisectionSolver BrentSolver NewtonSolver PolynomialFunction PolynomialSplineFunction SecantSolver SplineInterpolator UnivariateRealSolverFactoryImpl UnivariateRealSolverUtils | org.apache.commons.math.distribution | java.io java.lang java.util org.apache.commons.discovery.tools org.apache.commons.math
#### org.apache.commons.math.complex
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 5 | 0% | 100% | 0%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | Complex ComplexFormat ComplexUtils | None | java.io java.lang java.text java.util org.apache.commons.math.util
#### org.apache.commons.math.distribution
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 7 | 61% | 78% | 38%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
AbstractContinuousDistribution AbstractDistribution AbstractIntegerDistribution BinomialDistribution ChiSquaredDistribution ContinuousDistribution DiscreteDistribution Distribution DistributionFactory ExponentialDistribution FDistribution GammaDistribution HypergeometricDistribution IntegerDistribution NormalDistribution PoissonDistribution TDistribution | AbstractContinuousDistribution$1 BinomialDistributionImpl ChiSquaredDistributionImpl DistributionFactoryImpl ExponentialDistributionImpl FDistributionImpl GammaDistributionImpl HypergeometricDistributionImpl NormalDistributionImpl PoissonDistributionImpl TDistributionImpl | org.apache.commons.math.stat.inference org.apache.commons.math.stat.regression | java.io java.lang org.apache.commons.discovery.tools org.apache.commons.math org.apache.commons.math.analysis org.apache.commons.math.special org.apache.commons.math.util
#### org.apache.commons.math.linear
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 4 | 29% | 100% | 29%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
BigMatrix RealMatrix | BigMatrixImpl InvalidMatrixException MatrixIndexException MatrixUtils RealMatrixImpl | None | java.io java.lang java.math org.apache.commons.math.util
#### org.apache.commons.math.random
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 6 | 30% | 100% | 30%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
EmpiricalDistribution EmpiricalDistributionImpl$DataAdapter RandomData | EmpiricalDistributionImpl EmpiricalDistributionImpl$1 EmpiricalDistributionImpl$ArrayDataAdapter EmpiricalDistributionImpl$DataAdapterFactory EmpiricalDistributionImpl$StreamDataAdapter RandomDataImpl ValueServer | None | java.io java.lang java.net java.security java.util org.apache.commons.math.stat.descriptive
#### org.apache.commons.math.special
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 4 | 0% | 80% | 20%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | Beta Beta$1 Erf Gamma Gamma$1 | org.apache.commons.math.distribution | java.io java.lang org.apache.commons.math org.apache.commons.math.util
#### org.apache.commons.math.stat
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 8 | 0% | 89% | 11%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | Frequency Frequency$1 Frequency$NaturalComparator StatUtils | org.apache.commons.math.stat.inference | java.io java.lang java.text java.util org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.moment org.apache.commons.math.stat.descriptive.rank org.apache.commons.math.stat.descriptive.summary
#### org.apache.commons.math.stat.descriptive
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
6 | 8 | 70% | 57% | 27%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
AbstractStorelessUnivariateStatistic AbstractUnivariateStatistic DescriptiveStatistics StatisticalSummary StorelessUnivariateStatistic SummaryStatistics UnivariateStatistic | DescriptiveStatisticsImpl StatisticalSummaryValues SummaryStatisticsImpl | org.apache.commons.math.random org.apache.commons.math.stat org.apache.commons.math.stat.descriptive.moment org.apache.commons.math.stat.descriptive.rank org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.stat.inference | java.io java.lang java.util org.apache.commons.discovery.tools org.apache.commons.math.stat.descriptive.moment org.apache.commons.math.stat.descriptive.rank org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.util
#### org.apache.commons.math.stat.descriptive.moment
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 4 | 0% | 67% | 33%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | FirstMoment FourthMoment GeometricMean Kurtosis Mean SecondMoment Skewness StandardDeviation ThirdMoment Variance | org.apache.commons.math.stat org.apache.commons.math.stat.descriptive | java.io java.lang org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.summary
#### org.apache.commons.math.stat.descriptive.rank
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 4 | 0% | 67% | 33%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | Max Median Min Percentile | org.apache.commons.math.stat org.apache.commons.math.stat.descriptive | java.io java.lang java.util org.apache.commons.math.stat.descriptive
#### org.apache.commons.math.stat.descriptive.summary
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
3 | 3 | 0% | 50% | 50%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | Product Sum SumOfLogs SumOfSquares | org.apache.commons.math.stat org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.moment | java.io java.lang org.apache.commons.math.stat.descriptive
#### org.apache.commons.math.stat.inference
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 5 | 50% | 100% | 50%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
ChiSquareTest TTest | ChiSquareTestImpl TTestImpl | None | java.lang org.apache.commons.math org.apache.commons.math.distribution org.apache.commons.math.stat org.apache.commons.math.stat.descriptive
#### org.apache.commons.math.stat.regression
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 4 | 0% | 100% | 0%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | SimpleRegression | None | java.io java.lang org.apache.commons.math org.apache.commons.math.distribution
#### org.apache.commons.math.util
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
5 | 4 | 43% | 44% | 13%
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
ContinuedFraction DoubleArray NumberTransformer | DefaultTransformer MathUtils ResizableDoubleArray TransformerMap | org.apache.commons.math.complex org.apache.commons.math.distribution org.apache.commons.math.linear org.apache.commons.math.special org.apache.commons.math.stat.descriptive | java.io java.lang java.util org.apache.commons.math
### Cycles [ summary ] [ packages ] [ cycles ] [ explanations ]
Package | Cyclic Dependencies
--- | ---
org.apache.commons.math.random | org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.stat.descriptive
org.apache.commons.math.stat | org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.summary
org.apache.commons.math.stat.descriptive | org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.stat.descriptive
org.apache.commons.math.stat.descriptive.moment | org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.stat.descriptive
org.apache.commons.math.stat.descriptive.rank | org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.stat.descriptive
org.apache.commons.math.stat.descriptive.summary | org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.summary
org.apache.commons.math.stat.inference | org.apache.commons.math.stat.descriptive org.apache.commons.math.stat.descriptive.summary org.apache.commons.math.stat.descriptive
### 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.