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
org.apache.shiro.web 1 0 1 0 1 100.0% 100.0% 100.0% 1
org.apache.shiro.web.config 4 3 1 1 11 25.0% 92.0% 17.0% 1
org.apache.shiro.web.env 5 1 4 1 8 80.0% 89.0% 69.0% 1
org.apache.shiro.web.filter 4 0 4 3 12 100.0% 80.0% 80.0% 1
org.apache.shiro.web.filter.authc 9 6 3 0 15 33.0% 100.0% 33.0% 1
org.apache.shiro.web.filter.authz 11 8 3 0 11 27.000002% 100.0% 27.000002% 1
org.apache.shiro.web.filter.mgt 6 2 4 3 10 67.0% 77.0% 44.0% 1
org.apache.shiro.web.filter.session 2 1 1 0 4 50.0% 100.0% 50.0% 1
org.apache.shiro.web.mgt 4 2 2 2 9 50.0% 82.0% 32.0% 1
org.apache.shiro.web.servlet 13 9 4 3 15 31.0% 83.0% 14.0% 1
org.apache.shiro.web.session 1 0 1 2 1 100.0% 33.0% 33.0% 1
org.apache.shiro.web.session.mgt 5 2 3 1 9 60.000004% 90.0% 50.0% 1
org.apache.shiro.web.subject 3 0 3 2 4 100.0% 67.0% 67.0% 1
org.apache.shiro.web.subject.support 2 1 1 1 11 50.0% 92.0% 42.0% 1
org.apache.shiro.web.tags 13 9 4 0 6 31.0% 100.0% 31.0% 1
org.apache.shiro.web.util 4 2 2 9 6 50.0% 40.0% 10.0% 1

Packages

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

org.apache.shiro.web

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 1 100.0% 100.0% 100.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.package-info
None None java.lang

org.apache.shiro.web.config

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 25.0% 92.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.config.package-info
org.apache.shiro.web.config.IniFilterChainResolverFactory
org.apache.shiro.web.config.ShiroFilterConfiguration
org.apache.shiro.web.config.WebIniSecurityManagerFactory
org.apache.shiro.web.env
java.lang
java.util
javax.servlet
org.apache.shiro.config
org.apache.shiro.config.ogdl
org.apache.shiro.ini
org.apache.shiro.mgt
org.apache.shiro.util
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.mgt
org.slf4j

org.apache.shiro.web.env

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 8 80.0% 89.0% 69.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.env.MutableWebEnvironment
org.apache.shiro.web.env.ResourceBasedWebEnvironment
org.apache.shiro.web.env.WebEnvironment
org.apache.shiro.web.env.package-info
org.apache.shiro.web.env.EnvironmentLoaderListener
org.apache.shiro.web.servlet
java.lang
javax.servlet
org.apache.shiro.config
org.apache.shiro.env
org.apache.shiro.lang.util
org.apache.shiro.web.config
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.mgt

org.apache.shiro.web.filter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 12 100.0% 80.0% 80.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.filter.AccessControlFilter
org.apache.shiro.web.filter.PathConfigProcessor
org.apache.shiro.web.filter.PathMatchingFilter
org.apache.shiro.web.filter.package-info
None org.apache.shiro.web.filter.authc
org.apache.shiro.web.filter.authz
org.apache.shiro.web.filter.session
java.io
java.lang
java.util
javax.servlet
org.apache.shiro
org.apache.shiro.lang.util
org.apache.shiro.subject
org.apache.shiro.util
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.owasp.encoder
org.slf4j

org.apache.shiro.web.filter.authc

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 15 33.0% 100.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.filter.authc.AuthenticatingFilter
org.apache.shiro.web.filter.authc.AuthenticationFilter
org.apache.shiro.web.filter.authc.package-info
org.apache.shiro.web.filter.authc.AnonymousFilter
org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
org.apache.shiro.web.filter.authc.BearerHttpAuthenticationFilter
org.apache.shiro.web.filter.authc.LogoutFilter
org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter
org.apache.shiro.web.filter.authc.UserFilter
None java.io
java.lang
java.util
javax.servlet
javax.servlet.http
org.apache.shiro
org.apache.shiro.authc
org.apache.shiro.authz
org.apache.shiro.lang.codec
org.apache.shiro.session
org.apache.shiro.subject
org.apache.shiro.web.filter
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.filter.authz

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 11 27.000002% 100.0% 27.000002%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.filter.authz.AuthorizationFilter
org.apache.shiro.web.filter.authz.IpSource
org.apache.shiro.web.filter.authz.package-info
org.apache.shiro.web.filter.authz.HostFilter
org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter$HttpMethodAction
org.apache.shiro.web.filter.authz.IpFilter
org.apache.shiro.web.filter.authz.IpFilter$1
org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
org.apache.shiro.web.filter.authz.SslFilter
org.apache.shiro.web.filter.authz.SslFilter$HSTS
None java.io
java.lang
java.util
java.util.regex
javax.servlet
javax.servlet.http
org.apache.shiro.lang.util
org.apache.shiro.subject
org.apache.shiro.util
org.apache.shiro.web.filter
org.apache.shiro.web.util

org.apache.shiro.web.filter.mgt

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 10 67.0% 77.0% 44.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.filter.mgt.FilterChainManager
org.apache.shiro.web.filter.mgt.FilterChainResolver
org.apache.shiro.web.filter.mgt.NamedFilterList
org.apache.shiro.web.filter.mgt.package-info
org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
org.apache.shiro.web.config
org.apache.shiro.web.env
org.apache.shiro.web.servlet
java.lang
java.util
javax.servlet
org.apache.shiro.config
org.apache.shiro.lang.util
org.apache.shiro.util
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.owasp.encoder
org.slf4j

org.apache.shiro.web.filter.session

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 4 50.0% 100.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.filter.session.package-info
org.apache.shiro.web.filter.session.NoSessionCreationFilter
None java.lang
javax.servlet
org.apache.shiro.subject.support
org.apache.shiro.web.filter

org.apache.shiro.web.mgt

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 9 50.0% 82.0% 32.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.mgt.WebSecurityManager
org.apache.shiro.web.mgt.package-info
org.apache.shiro.web.mgt.DefaultWebSessionStorageEvaluator
org.apache.shiro.web.mgt.DefaultWebSubjectFactory
org.apache.shiro.web.config
org.apache.shiro.web.env
java.lang
javax.servlet
org.apache.shiro.mgt
org.apache.shiro.session
org.apache.shiro.session.mgt
org.apache.shiro.subject
org.apache.shiro.web.subject
org.apache.shiro.web.subject.support
org.apache.shiro.web.util

org.apache.shiro.web.servlet

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 15 31.0% 83.0% 14.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.servlet.Cookie
org.apache.shiro.web.servlet.HttpSessionContext
org.apache.shiro.web.servlet.NameableFilter
org.apache.shiro.web.servlet.package-info
org.apache.shiro.web.servlet.Cookie$SameSiteOptions
org.apache.shiro.web.servlet.ServletContextSupport
org.apache.shiro.web.servlet.ShiroFilter
org.apache.shiro.web.servlet.ShiroHttpServletRequest$ObjectPrincipal
org.apache.shiro.web.servlet.ShiroHttpSession
org.apache.shiro.web.servlet.ShiroHttpSession$1
org.apache.shiro.web.servlet.ShiroHttpSession$2
org.apache.shiro.web.servlet.ShiroHttpSession$3
org.apache.shiro.web.servlet.SimpleCookie
org.apache.shiro.web.filter
org.apache.shiro.web.filter.authc
org.apache.shiro.web.filter.mgt
java.io
java.lang
java.security
java.text
java.util
javax.servlet
javax.servlet.http
org.apache.shiro.lang.util
org.apache.shiro.session
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.session
org.apache.shiro.web.util
org.owasp.encoder
org.slf4j

org.apache.shiro.web.session

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 1 100.0% 33.0% 33.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.session.package-info
None org.apache.shiro.web.servlet
org.apache.shiro.web.session.mgt
java.lang

org.apache.shiro.web.session.mgt

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 60.000004% 90.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.session.mgt.WebSessionContext
org.apache.shiro.web.session.mgt.WebSessionManager
org.apache.shiro.web.session.mgt.package-info
org.apache.shiro.web.session.mgt.ServletContainerSessionManager
org.apache.shiro.web.session.mgt.WebSessionKey
org.apache.shiro.web.subject.support
java.io
java.lang
javax.servlet
javax.servlet.http
org.apache.shiro.authz
org.apache.shiro.session
org.apache.shiro.session.mgt
org.apache.shiro.web.session
org.apache.shiro.web.util

org.apache.shiro.web.subject

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 4 100.0% 67.0% 67.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.subject.WebSubject
org.apache.shiro.web.subject.WebSubjectContext
org.apache.shiro.web.subject.package-info
None org.apache.shiro.web.mgt
org.apache.shiro.web.subject.support
java.lang
javax.servlet
org.apache.shiro.subject
org.apache.shiro.web.util

org.apache.shiro.web.subject.support

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 11 50.0% 92.0% 42.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.subject.support.package-info
org.apache.shiro.web.subject.support.WebDelegatingSubject
org.apache.shiro.web.mgt
java.lang
javax.servlet
org.apache.shiro.lang.util
org.apache.shiro.mgt
org.apache.shiro.session
org.apache.shiro.session.mgt
org.apache.shiro.subject
org.apache.shiro.subject.support
org.apache.shiro.web.session.mgt
org.apache.shiro.web.subject
org.apache.shiro.web.util

org.apache.shiro.web.tags

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 6 31.0% 100.0% 31.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.tags.PermissionTag
org.apache.shiro.web.tags.RoleTag
org.apache.shiro.web.tags.SecureTag
org.apache.shiro.web.tags.package-info
org.apache.shiro.web.tags.AuthenticatedTag
org.apache.shiro.web.tags.GuestTag
org.apache.shiro.web.tags.HasAnyRolesTag
org.apache.shiro.web.tags.HasPermissionTag
org.apache.shiro.web.tags.HasRoleTag
org.apache.shiro.web.tags.LacksPermissionTag
org.apache.shiro.web.tags.LacksRoleTag
org.apache.shiro.web.tags.NotAuthenticatedTag
org.apache.shiro.web.tags.UserTag
None java.lang
javax.servlet.jsp
javax.servlet.jsp.tagext
org.apache.shiro
org.apache.shiro.subject
org.slf4j

org.apache.shiro.web.util

Afferent Couplings Efferent Couplings Abstractness Instability Distance
9 6 50.0% 40.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.util.RequestPairSource
org.apache.shiro.web.util.package-info
org.apache.shiro.web.util.RedirectView
org.apache.shiro.web.util.SavedRequest
org.apache.shiro.web.filter
org.apache.shiro.web.filter.authc
org.apache.shiro.web.filter.authz
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.session.mgt
org.apache.shiro.web.subject
org.apache.shiro.web.subject.support
java.io
java.lang
java.net
java.util
javax.servlet
javax.servlet.http

Cycles

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

Package Package Dependencies
org.apache.shiro.web.config org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.env org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.filter org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.authc org.apache.shiro.web.filter
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.authz org.apache.shiro.web.filter
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.filter.session org.apache.shiro.web.filter
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.servlet org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet

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.