Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
org.apache.commons.codec | 11 | 5 | 6 | 5 | 3 | 55.0% | 38.0% | 8.0% | 1 |
org.apache.commons.codec.binary | 13 | 12 | 1 | 2 | 5 | 8.0% | 71.0% | 21.0% | 1 |
org.apache.commons.codec.digest | 7 | 7 | 0 | 0 | 7 | 0.0% | 100.0% | 0.0% | 1 |
org.apache.commons.codec.language | 15 | 13 | 2 | 0 | 4 | 13.0% | 100.0% | 13.0% | 1 |
org.apache.commons.codec.language.bm | 33 | 30 | 3 | 0 | 5 | 9.0% | 100.0% | 9.0% | 1 |
org.apache.commons.codec.net | 6 | 5 | 1 | 0 | 6 | 17.0% | 100.0% | 17.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
5 | 3 | 55.0% | 38.0% | 8.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder org.apache.commons.codec.Decoder org.apache.commons.codec.Encoder org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder | org.apache.commons.codec.CharEncoding org.apache.commons.codec.Charsets org.apache.commons.codec.DecoderException org.apache.commons.codec.EncoderException org.apache.commons.codec.StringEncoderComparator | org.apache.commons.codec.binary org.apache.commons.codec.digest org.apache.commons.codec.language org.apache.commons.codec.language.bm org.apache.commons.codec.net | java.lang java.nio.charset java.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 5 | 8.0% | 71.0% | 21.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.codec.binary.BaseNCodec | org.apache.commons.codec.binary.Base32 org.apache.commons.codec.binary.Base32InputStream org.apache.commons.codec.binary.Base32OutputStream org.apache.commons.codec.binary.Base64 org.apache.commons.codec.binary.Base64InputStream org.apache.commons.codec.binary.Base64OutputStream org.apache.commons.codec.binary.BaseNCodec$Context org.apache.commons.codec.binary.BaseNCodecInputStream org.apache.commons.codec.binary.BaseNCodecOutputStream org.apache.commons.codec.binary.BinaryCodec org.apache.commons.codec.binary.Hex org.apache.commons.codec.binary.StringUtils | org.apache.commons.codec.digest org.apache.commons.codec.net | java.io java.lang java.math java.nio.charset org.apache.commons.codec |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 7 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.apache.commons.codec.digest.B64 org.apache.commons.codec.digest.Crypt org.apache.commons.codec.digest.DigestUtils org.apache.commons.codec.digest.Md5Crypt org.apache.commons.codec.digest.MessageDigestAlgorithms org.apache.commons.codec.digest.Sha2Crypt org.apache.commons.codec.digest.UnixCrypt | None | java.io java.lang java.security java.util java.util.regex org.apache.commons.codec org.apache.commons.codec.binary |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 4 | 13.0% | 100.0% | 13.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.codec.language.AbstractCaverphone org.apache.commons.codec.language.ColognePhonetic$CologneBuffer | org.apache.commons.codec.language.Caverphone org.apache.commons.codec.language.Caverphone1 org.apache.commons.codec.language.Caverphone2 org.apache.commons.codec.language.ColognePhonetic org.apache.commons.codec.language.ColognePhonetic$CologneInputBuffer org.apache.commons.codec.language.ColognePhonetic$CologneOutputBuffer org.apache.commons.codec.language.DoubleMetaphone org.apache.commons.codec.language.DoubleMetaphone$DoubleMetaphoneResult org.apache.commons.codec.language.Metaphone org.apache.commons.codec.language.Nysiis org.apache.commons.codec.language.RefinedSoundex org.apache.commons.codec.language.Soundex org.apache.commons.codec.language.SoundexUtils | None | java.lang java.util java.util.regex org.apache.commons.codec |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 5 | 9.0% | 100.0% | 9.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.codec.language.bm.Languages$LanguageSet org.apache.commons.codec.language.bm.Rule$PhonemeExpr org.apache.commons.codec.language.bm.Rule$RPattern | org.apache.commons.codec.language.bm.BeiderMorseEncoder org.apache.commons.codec.language.bm.Lang org.apache.commons.codec.language.bm.Lang$1 org.apache.commons.codec.language.bm.Lang$LangRule org.apache.commons.codec.language.bm.Languages org.apache.commons.codec.language.bm.Languages$1 org.apache.commons.codec.language.bm.Languages$2 org.apache.commons.codec.language.bm.Languages$SomeLanguages org.apache.commons.codec.language.bm.NameType org.apache.commons.codec.language.bm.PhoneticEngine org.apache.commons.codec.language.bm.PhoneticEngine$1 org.apache.commons.codec.language.bm.PhoneticEngine$2 org.apache.commons.codec.language.bm.PhoneticEngine$PhonemeBuilder org.apache.commons.codec.language.bm.PhoneticEngine$RulesApplication org.apache.commons.codec.language.bm.ResourceConstants org.apache.commons.codec.language.bm.Rule org.apache.commons.codec.language.bm.Rule$1 org.apache.commons.codec.language.bm.Rule$10 org.apache.commons.codec.language.bm.Rule$2 org.apache.commons.codec.language.bm.Rule$3 org.apache.commons.codec.language.bm.Rule$4 org.apache.commons.codec.language.bm.Rule$5 org.apache.commons.codec.language.bm.Rule$6 org.apache.commons.codec.language.bm.Rule$7 org.apache.commons.codec.language.bm.Rule$8 org.apache.commons.codec.language.bm.Rule$9 org.apache.commons.codec.language.bm.Rule$Phoneme org.apache.commons.codec.language.bm.Rule$Phoneme$1 org.apache.commons.codec.language.bm.Rule$PhonemeList org.apache.commons.codec.language.bm.RuleType | None | java.io java.lang java.util java.util.regex org.apache.commons.codec |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 6 | 17.0% | 100.0% | 17.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.apache.commons.codec.net.RFC1522Codec | org.apache.commons.codec.net.BCodec org.apache.commons.codec.net.QCodec org.apache.commons.codec.net.QuotedPrintableCodec org.apache.commons.codec.net.URLCodec org.apache.commons.codec.net.Utils | None | java.io java.lang java.nio.charset java.util org.apache.commons.codec org.apache.commons.codec.binary |
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. |