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
cn.home1.oss.boot.autoconfigure 12 9 3 0 11 25.0% 100.0% 25.0% 1
cn.home1.oss.lib.common 28 20 8 1 45 29.0% 98.0% 26.0% 1
cn.home1.oss.lib.common.crypto 29 22 7 2 28 24.0% 93.0% 17.0% 1
cn.home1.oss.lib.common.msginterpolate 4 2 2 0 10 50.0% 100.0% 50.0% 1

Packages

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

cn.home1.oss.boot.autoconfigure

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 11 25.0% 100.0% 25.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
cn.home1.oss.boot.autoconfigure.ConditionalOnAppSecurity
cn.home1.oss.boot.autoconfigure.ConditionalOnAppType
cn.home1.oss.boot.autoconfigure.ConditionalOnNotEnvProduction
cn.home1.oss.boot.autoconfigure.AppErrorProperties
cn.home1.oss.boot.autoconfigure.AppErrorProperties$SearchStrategy
cn.home1.oss.boot.autoconfigure.AppLogProperties
cn.home1.oss.boot.autoconfigure.AppSecurity
cn.home1.oss.boot.autoconfigure.AppSecurityProperties
cn.home1.oss.boot.autoconfigure.AppType
cn.home1.oss.boot.autoconfigure.OnAppSecurityCondition
cn.home1.oss.boot.autoconfigure.OnAppTypeCondition
cn.home1.oss.boot.autoconfigure.OnNotEnvProductionCondition
None cn.home1.oss.lib.common.crypto
java.lang
java.lang.annotation
java.util
org.apache.commons.lang3
org.slf4j
org.springframework.boot.autoconfigure.condition
org.springframework.context.annotation
org.springframework.core.env
org.springframework.core.type
org.springframework.util

cn.home1.oss.lib.common

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 45 29.0% 98.0% 26.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
cn.home1.oss.lib.common.BasicAuthUtils
cn.home1.oss.lib.common.CodecUtils
cn.home1.oss.lib.common.CurlUtils
cn.home1.oss.lib.common.Defaults
cn.home1.oss.lib.common.DiscoverableEnum
cn.home1.oss.lib.common.Jackson2Configurator$BuildinJackson2Configurators
cn.home1.oss.lib.common.RequestUtlis
cn.home1.oss.lib.common.SpringSecurityJackson2Module$Jackson2SpringSecurityConfigurator
cn.home1.oss.lib.common.DateTimeFormatterWrapper
cn.home1.oss.lib.common.FileAndClasspathUtils$AssignableFilter
cn.home1.oss.lib.common.FileAndClasspathUtils$ClassPathScanningCandidateProvider
cn.home1.oss.lib.common.FileAndClasspathUtils$InterfaceFilter
cn.home1.oss.lib.common.Jackson2Configurator$1
cn.home1.oss.lib.common.Jackson2Configurator$BuildinJackson2Configurators$1
cn.home1.oss.lib.common.Jackson2Configurator$BuildinJackson2Configurators$2
cn.home1.oss.lib.common.Jackson2Configurator$BuildinJackson2Configurators$3
cn.home1.oss.lib.common.Jackson2Configurator$BuildinJackson2Configurators$4
cn.home1.oss.lib.common.Jackson2HackedJaxbAnnotationIntrospector
cn.home1.oss.lib.common.Jackson2Utils$RuntimeJsonProcessingException
cn.home1.oss.lib.common.JaxbMapWrapper
cn.home1.oss.lib.common.JaxbUtils
cn.home1.oss.lib.common.JaxbUtils$DatimeAdapter
cn.home1.oss.lib.common.ResourceUtils
cn.home1.oss.lib.common.SpringSecurityJackson2Module
cn.home1.oss.lib.common.SpringSecurityJackson2Module$1
cn.home1.oss.lib.common.SpringSecurityJackson2Module$GrantedAuthorityDeserializer
cn.home1.oss.lib.common.SpringSecurityJackson2Module$GrantedAuthoritySerializer
cn.home1.oss.lib.common.SpringSecurityJackson2Module$Jackson2SpringSecurityConfigurator$1
cn.home1.oss.lib.common.crypto
cn.home1.oss.lib.common.crypto
com.fasterxml.jackson.core
com.fasterxml.jackson.databind
com.fasterxml.jackson.databind.introspect
com.fasterxml.jackson.databind.module
com.fasterxml.jackson.databind.type
com.fasterxml.jackson.datatype.joda
com.fasterxml.jackson.module.jaxb
com.google.common.base
com.google.common.collect
java.io
java.lang
java.lang.reflect
java.nio.charset
java.text
java.util
javax.servlet
javax.servlet.http
javax.xml.bind
javax.xml.bind.annotation.adapters
javax.xml.transform.stream
lombok
org.apache.commons.codec
org.apache.commons.codec.net
org.apache.commons.io
org.apache.commons.lang3
org.apache.http.auth
org.apache.http.client
org.apache.http.impl.client
org.joda.time
org.joda.time.format
org.slf4j
org.springframework.beans.factory.annotation
org.springframework.context.annotation
org.springframework.core.env
org.springframework.core.io
org.springframework.core.type
org.springframework.core.type.classreading
org.springframework.core.type.filter
org.springframework.http
org.springframework.oxm.jaxb
org.springframework.security.core
org.springframework.security.core.authority
org.springframework.util
org.springframework.web.util

cn.home1.oss.lib.common.crypto

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 28 24.0% 93.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
cn.home1.oss.lib.common.crypto.CryptoConstants
cn.home1.oss.lib.common.crypto.Cryptos
cn.home1.oss.lib.common.crypto.EncodeCipher
cn.home1.oss.lib.common.crypto.EncodeDecryptor
cn.home1.oss.lib.common.crypto.EncodeEncryptor
cn.home1.oss.lib.common.crypto.KeyGenerator
cn.home1.oss.lib.common.crypto.RandomString
cn.home1.oss.lib.common.crypto.Aes
cn.home1.oss.lib.common.crypto.AesCbcKey
cn.home1.oss.lib.common.crypto.AesDecryptor
cn.home1.oss.lib.common.crypto.AesEncryptor
cn.home1.oss.lib.common.crypto.AesException
cn.home1.oss.lib.common.crypto.AesException$AesError
cn.home1.oss.lib.common.crypto.AesKeyGenerator
cn.home1.oss.lib.common.crypto.Jwt
cn.home1.oss.lib.common.crypto.JwtDecryptor
cn.home1.oss.lib.common.crypto.JwtEncryptor
cn.home1.oss.lib.common.crypto.JwtKey
cn.home1.oss.lib.common.crypto.JwtKeyGenerator
cn.home1.oss.lib.common.crypto.KeyExpression
cn.home1.oss.lib.common.crypto.Pkcs7Encoder
cn.home1.oss.lib.common.crypto.RandomString$1
cn.home1.oss.lib.common.crypto.RandomString$RandomStringImpl
cn.home1.oss.lib.common.crypto.RandomString$RandomStrings
cn.home1.oss.lib.common.crypto.Rsa
cn.home1.oss.lib.common.crypto.RsaDecryptor
cn.home1.oss.lib.common.crypto.RsaEncryptor
cn.home1.oss.lib.common.crypto.RsaKey
cn.home1.oss.lib.common.crypto.RsaKeyGenerator
cn.home1.oss.boot.autoconfigure
cn.home1.oss.lib.common
cn.home1.oss.lib.common
com.fasterxml.jackson.annotation
com.google.common.base
com.google.common.collect
io.jsonwebtoken
io.jsonwebtoken.impl
io.jsonwebtoken.impl.crypto
java.io
java.lang
java.nio
java.nio.charset
java.security
java.security.interfaces
java.security.spec
java.util
javax.crypto
javax.crypto.spec
lombok
org.apache.commons.codec.binary
org.apache.commons.lang3
org.bouncycastle.asn1
org.bouncycastle.asn1.pkcs
org.bouncycastle.asn1.x509
org.bouncycastle.jce.provider
org.bouncycastle.util.io.pem
org.codehaus.jackson.map.annotate
org.joda.time
org.slf4j

cn.home1.oss.lib.common.msginterpolate

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 10 50.0% 100.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
cn.home1.oss.lib.common.msginterpolate.MessageInterpolator
cn.home1.oss.lib.common.msginterpolate.MessageInterpolatorAware
cn.home1.oss.lib.common.msginterpolate.NoOpMessageInterpolator
cn.home1.oss.lib.common.msginterpolate.SpelMessageInterpolator
None java.lang
java.util
org.slf4j
org.springframework.beans.factory
org.springframework.context.expression
org.springframework.expression
org.springframework.expression.common
org.springframework.expression.spel.standard
org.springframework.expression.spel.support
org.springframework.util

Cycles

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

Package Package Dependencies
cn.home1.oss.boot.autoconfigure cn.home1.oss.lib.common.crypto
cn.home1.oss.lib.common
cn.home1.oss.lib.common.crypto
cn.home1.oss.lib.common cn.home1.oss.lib.common.crypto
cn.home1.oss.lib.common
cn.home1.oss.lib.common.crypto cn.home1.oss.lib.common
cn.home1.oss.lib.common.crypto

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.