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
net.truelicense.api 32 5 27 0 12 84.0% 100.0% 84.0% 1
net.truelicense.api.auth 7 1 6 1 5 86.0% 83.0% 69.0% 1
net.truelicense.api.codec 5 1 4 2 5 80.0% 71.0% 51.0% 1
net.truelicense.api.comp 1 0 1 0 2 100.0% 100.0% 100.0% 1
net.truelicense.api.crypto 2 0 2 1 3 100.0% 75.0% 75.0% 1
net.truelicense.api.i18n 1 0 1 1 3 100.0% 75.0% 75.0% 1
net.truelicense.api.io 6 2 4 4 2 67.0% 33.0% 0.0% 1
net.truelicense.api.misc 6 0 6 2 2 100.0% 50.0% 50.0% 1
net.truelicense.api.passwd 7 2 5 3 2 71.0% 40.0% 11.0% 1
net.truelicense.api.x500 5 4 1 0 5 20.0% 100.0% 20.0% 1

Packages

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

net.truelicense.api

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 84.0% 100.0% 84.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.AuthenticationInjection
net.truelicense.api.ConsumerLicenseManager
net.truelicense.api.ConsumerLicenseManagerBuilder
net.truelicense.api.EncryptionInjection
net.truelicense.api.LicenseApplicationContext
net.truelicense.api.LicenseFactory
net.truelicense.api.LicenseFunctionComposition
net.truelicense.api.LicenseInitialization
net.truelicense.api.LicenseInitializationProvider
net.truelicense.api.LicenseKeyGenerator
net.truelicense.api.LicenseManagementAuthorization
net.truelicense.api.LicenseManagementAuthorizationProvider
net.truelicense.api.LicenseManagementContext
net.truelicense.api.LicenseManagementContextBuilder
net.truelicense.api.LicenseManagementParameters
net.truelicense.api.LicenseManagementParametersProvider
net.truelicense.api.LicenseManagementSchema
net.truelicense.api.LicenseManagementSubjectProvider
net.truelicense.api.LicenseManagerBuilder
net.truelicense.api.LicenseValidation
net.truelicense.api.LicenseValidationProvider
net.truelicense.api.UncheckedConsumerLicenseManager
net.truelicense.api.UncheckedLicenseKeyGenerator
net.truelicense.api.UncheckedLicenseManager$UncheckedTrueLicenseManager
net.truelicense.api.UncheckedVendorLicenseManager
net.truelicense.api.VendorLicenseManager
net.truelicense.api.VendorLicenseManagerBuilder
net.truelicense.api.License
net.truelicense.api.LicenseFunctionComposition$1
net.truelicense.api.LicenseManagementException
net.truelicense.api.LicenseValidationException
net.truelicense.api.UncheckedLicenseManagementException
None java.lang
java.nio.file
java.security
java.util
javax.security.auth.x500
net.truelicense.api.auth
net.truelicense.api.codec
net.truelicense.api.crypto
net.truelicense.api.i18n
net.truelicense.api.io
net.truelicense.api.misc
net.truelicense.api.passwd

net.truelicense.api.auth

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 5 86.0% 83.0% 69.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.auth.Authentication
net.truelicense.api.auth.AuthenticationParameters
net.truelicense.api.auth.AuthenticationProvider
net.truelicense.api.auth.RepositoryContext
net.truelicense.api.auth.RepositoryContextProvider
net.truelicense.api.auth.RepositoryController
net.truelicense.api.auth.RepositoryIntegrityException
net.truelicense.api
java.lang
java.security
java.util
net.truelicense.api.codec
net.truelicense.api.passwd

net.truelicense.api.codec

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 5 80.0% 71.0% 51.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.codec.Codec
net.truelicense.api.codec.CodecProvider
net.truelicense.api.codec.Decoder
net.truelicense.api.codec.Encoder
net.truelicense.api.codec.X500PrincipalXmlAdapter
net.truelicense.api
net.truelicense.api.auth
java.lang
java.lang.reflect
javax.security.auth.x500
javax.xml.bind.annotation.adapters
net.truelicense.api.io

net.truelicense.api.comp

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 2 100.0% 100.0% 100.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.comp.CompressionProvider
None None java.lang
net.truelicense.api.io

net.truelicense.api.crypto

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 100.0% 75.0% 75.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.crypto.EncryptionParameters
net.truelicense.api.crypto.EncryptionProvider
None net.truelicense.api
java.lang
net.truelicense.api.io
net.truelicense.api.passwd

net.truelicense.api.i18n

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 3 100.0% 75.0% 75.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.i18n.Message
None net.truelicense.api
java.io
java.lang
java.util

net.truelicense.api.io

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 2 67.0% 33.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.io.Sink
net.truelicense.api.io.Source
net.truelicense.api.io.Store
net.truelicense.api.io.Transformation
net.truelicense.api.io.Store$1
net.truelicense.api.io.Transformation$1
net.truelicense.api
net.truelicense.api.codec
net.truelicense.api.comp
net.truelicense.api.crypto
java.io
java.lang

net.truelicense.api.misc

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 2 100.0% 50.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.misc.Builder
net.truelicense.api.misc.CachePeriodProvider
net.truelicense.api.misc.ClassLoaderProvider
net.truelicense.api.misc.Clock
net.truelicense.api.misc.ContextProvider
net.truelicense.api.misc.Injection
None net.truelicense.api
net.truelicense.api.x500
java.lang
java.util

net.truelicense.api.passwd

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 2 71.0% 40.0% 11.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.passwd.Password
net.truelicense.api.passwd.PasswordPolicy
net.truelicense.api.passwd.PasswordPolicyProvider
net.truelicense.api.passwd.PasswordProtection
net.truelicense.api.passwd.PasswordProtectionProvider
net.truelicense.api.passwd.PasswordUsage
net.truelicense.api.passwd.WeakPasswordException
net.truelicense.api
net.truelicense.api.auth
net.truelicense.api.crypto
java.lang
java.security

net.truelicense.api.x500

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 5 20.0% 100.0% 20.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
net.truelicense.api.x500.GenericX500PrincipalBuilder
net.truelicense.api.x500.GenericX500PrincipalBuilder$1
net.truelicense.api.x500.GenericX500PrincipalBuilder$DistinguishedNameAssembler
net.truelicense.api.x500.X500AttributeTypeKeyword
net.truelicense.api.x500.X500PrincipalBuilder
None java.lang
java.util
java.util.regex
javax.security.auth.x500
net.truelicense.api.misc

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.