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.lib.errorhandle.api 12 7 5 4 22 42.0% 85.0% 26.0% 1
cn.home1.oss.lib.errorhandle.internal 11 10 1 1 22 9.0% 96.0% 5.0% 1
cn.home1.oss.lib.errorhandle.internal.resolver 6 6 0 1 13 0.0% 93.0% 7.0% 1
cn.home1.oss.lib.errorhandle.internal.rpc 1 1 0 0 1 0.0% 100.0% 0.0% 1
cn.home1.oss.lib.errorhandle.internal.translator 1 1 0 1 11 0.0% 92.0% 8.0% 1
cn.home1.oss.lib.errorhandle.starter 3 3 0 0 22 0.0% 100.0% 0.0% 1

Packages

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

cn.home1.oss.lib.errorhandle.api

Afferent Couplings Efferent Couplings Abstractness Instability Distance
4 22 42.0% 85.0% 26.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
cn.home1.oss.lib.errorhandle.api.AbstractConcreteExceptionResolver
cn.home1.oss.lib.errorhandle.api.ConcreteExceptionResolver
cn.home1.oss.lib.errorhandle.api.ExceptionResolver
cn.home1.oss.lib.errorhandle.api.ExceptionTranslator
cn.home1.oss.lib.errorhandle.api.StackTraceIndicator
cn.home1.oss.lib.errorhandle.api.ApplicationExceptions
cn.home1.oss.lib.errorhandle.api.ResolvedError$1
cn.home1.oss.lib.errorhandle.api.ResolvedError$ResolvedErrorBuilder
cn.home1.oss.lib.errorhandle.api.ResolvedErrorException
cn.home1.oss.lib.errorhandle.api.ValidationError
cn.home1.oss.lib.errorhandle.api.ValidationError$1
cn.home1.oss.lib.errorhandle.api.ValidationError$ValidationErrorBuilder
cn.home1.oss.lib.errorhandle.internal
cn.home1.oss.lib.errorhandle.internal.resolver
cn.home1.oss.lib.errorhandle.internal.translator
cn.home1.oss.lib.errorhandle.starter
cn.home1.oss.lib.common
com.fasterxml.jackson.annotation
com.google.common.base
com.google.common.collect
java.io
java.lang
java.util
java.util.regex
javax.servlet
javax.servlet.http
org.apache.commons.lang3
org.codehaus.jackson.map.annotate
org.joda.time
org.slf4j
org.springframework.context
org.springframework.core
org.springframework.core.convert
org.springframework.http
org.springframework.util
org.springframework.validation
org.springframework.web.context.request
org.springframework.web.servlet

cn.home1.oss.lib.errorhandle.internal

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 22 9.0% 96.0% 5.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
cn.home1.oss.lib.errorhandle.internal.BaseErrorController
cn.home1.oss.lib.errorhandle.internal.BaseErrorController$MixedErrorController
cn.home1.oss.lib.errorhandle.internal.BaseErrorController$RestfulErrorController
cn.home1.oss.lib.errorhandle.internal.BaseErrorController$TemplateErrorController
cn.home1.oss.lib.errorhandle.internal.CompositeExceptionResolver
cn.home1.oss.lib.errorhandle.internal.ContentCachingRequestFilter
cn.home1.oss.lib.errorhandle.internal.DefaultExceptionHandler
cn.home1.oss.lib.errorhandle.internal.DefaultStackTraceIndicator
cn.home1.oss.lib.errorhandle.internal.ExtendedErrorAttributes
cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler
cn.home1.oss.lib.errorhandle.internal.TemplateExceptionHandler
cn.home1.oss.lib.errorhandle.starter
cn.home1.oss.lib.common
cn.home1.oss.lib.errorhandle.api
cn.home1.oss.lib.errorhandle.internal.resolver
cn.home1.oss.lib.webmvc.api
cn.home1.oss.lib.webmvc.internal
com.google.common.collect
java.io
java.lang
java.util
javax.servlet
javax.servlet.http
org.slf4j
org.springframework.boot.autoconfigure.web
org.springframework.core
org.springframework.http
org.springframework.util
org.springframework.web.bind.annotation
org.springframework.web.context.request
org.springframework.web.filter
org.springframework.web.method.support
org.springframework.web.servlet
org.springframework.web.util

cn.home1.oss.lib.errorhandle.internal.resolver

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 13 0.0% 93.0% 7.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None cn.home1.oss.lib.errorhandle.internal.resolver.ApplicationErrorExceptionResolver
cn.home1.oss.lib.errorhandle.internal.resolver.ConstraintViolationExceptionResolver
cn.home1.oss.lib.errorhandle.internal.resolver.DefaultExceptionResolver
cn.home1.oss.lib.errorhandle.internal.resolver.HttpMediaTypeNotSupportedExceptionResolver
cn.home1.oss.lib.errorhandle.internal.resolver.HttpRequestMethodNotSupportedExceptionResolver
cn.home1.oss.lib.errorhandle.internal.resolver.MethodArgumentNotValidExceptionResolver
cn.home1.oss.lib.errorhandle.internal
cn.home1.oss.lib.errorhandle.api
com.google.common.collect
java.lang
java.util
javax.validation
org.slf4j
org.springframework.core.convert
org.springframework.http
org.springframework.util
org.springframework.validation
org.springframework.web
org.springframework.web.bind
org.springframework.web.context.request

cn.home1.oss.lib.errorhandle.internal.rpc

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 1 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None cn.home1.oss.lib.errorhandle.internal.rpc.FeignErrorDecoderConfiguration
None java.lang

cn.home1.oss.lib.errorhandle.internal.translator

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 0.0% 92.0% 8.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None cn.home1.oss.lib.errorhandle.internal.translator.DefaultExceptionTranslator
cn.home1.oss.lib.errorhandle.starter
cn.home1.oss.lib.common.msginterpolate
cn.home1.oss.lib.errorhandle.api
com.google.common.base
com.google.common.collect
java.lang
java.util
org.apache.commons.lang3
org.slf4j
org.springframework.context
org.springframework.context.i18n
org.springframework.web.context.request

cn.home1.oss.lib.errorhandle.starter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 22 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None cn.home1.oss.lib.errorhandle.starter.ErrorHandleAutoConfiguration
cn.home1.oss.lib.errorhandle.starter.ExceptionHandlerConfiguration
cn.home1.oss.lib.errorhandle.starter.ExceptionResolverConfiguration
None cn.home1.oss.boot.autoconfigure
cn.home1.oss.lib.common
cn.home1.oss.lib.common.msginterpolate
cn.home1.oss.lib.errorhandle.api
cn.home1.oss.lib.errorhandle.internal
cn.home1.oss.lib.errorhandle.internal.translator
cn.home1.oss.lib.webmvc.api
cn.home1.oss.lib.webmvc.internal
com.fasterxml.jackson.databind
com.google.common.base
com.google.common.collect
java.lang
java.util
java.util.concurrent
org.apache.commons.lang3
org.slf4j
org.springframework.boot.autoconfigure.web
org.springframework.context
org.springframework.context.support
org.springframework.web.servlet.config.annotation
org.springframework.web.servlet.mvc.annotation
org.springframework.web.servlet.mvc.method.annotation

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.