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.config 2 2 0 2 9 0.0% 82.0% 18.0% 1
org.apache.shiro.web.env 7 4 3 2 14 43.0% 88.0% 30.000002% 1
org.apache.shiro.web.filter 3 0 3 5 10 100.0% 67.0% 67.0% 1
org.apache.shiro.web.filter.authc 8 6 2 1 15 25.0% 94.0% 19.0% 1
org.apache.shiro.web.filter.authz 8 7 1 1 12 12.0% 92.0% 5.0% 1
org.apache.shiro.web.filter.mgt 7 4 3 3 12 43.0% 80.0% 23.0% 1
org.apache.shiro.web.filter.session 1 1 0 1 4 0.0% 80.0% 20.0% 1
org.apache.shiro.web.mgt 5 4 1 3 17 20.0% 85.0% 5.0% 1
org.apache.shiro.web.servlet 19 13 6 6 25 32.0% 81.0% 12.0% 1
org.apache.shiro.web.session 1 1 0 2 7 0.0% 78.0% 22.0% 1
org.apache.shiro.web.session.mgt 6 4 2 2 12 33.0% 86.0% 19.0% 1
org.apache.shiro.web.subject 3 1 2 3 7 67.0% 70.0% 37.0% 1
org.apache.shiro.web.subject.support 2 2 0 2 11 0.0% 85.0% 15.000001% 1
org.apache.shiro.web.tags 13 10 3 0 9 23.0% 100.0% 23.0% 1
org.apache.shiro.web.util 4 3 1 10 14 25.0% 58.0% 17.0% 1

Packages

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

org.apache.shiro.web.config

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 9 0.0% 82.0% 18.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shiro.web.config.IniFilterChainResolverFactory
org.apache.shiro.web.config.WebIniSecurityManagerFactory
org.apache.shiro.web.env
org.apache.shiro.web.servlet
java.lang
java.util
javax.servlet
org.apache.shiro.config
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
2 14 43.0% 88.0% 30.000002%
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.DefaultWebEnvironment
org.apache.shiro.web.env.EnvironmentLoader
org.apache.shiro.web.env.EnvironmentLoaderListener
org.apache.shiro.web.env.IniWebEnvironment
org.apache.shiro.web.servlet
org.apache.shiro.web.util
java.io
java.lang
java.util
javax.servlet
org.apache.shiro.config
org.apache.shiro.env
org.apache.shiro.io
org.apache.shiro.mgt
org.apache.shiro.util
org.apache.shiro.web.config
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.mgt
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.filter

Afferent Couplings Efferent Couplings Abstractness Instability Distance
5 10 100.0% 67.0% 67.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
None org.apache.shiro.web.filter.authc
org.apache.shiro.web.filter.authz
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.filter.session
org.apache.shiro.web.util
java.io
java.lang
java.util
javax.servlet
org.apache.shiro
org.apache.shiro.subject
org.apache.shiro.util
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.filter.authc

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 15 25.0% 94.0% 19.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.AnonymousFilter
org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
org.apache.shiro.web.filter.authc.FormAuthenticationFilter
org.apache.shiro.web.filter.authc.LogoutFilter
org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter
org.apache.shiro.web.filter.authc.UserFilter
org.apache.shiro.web.filter.mgt
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.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
1 12 12.0% 92.0% 5.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.filter.authz.AuthorizationFilter
org.apache.shiro.web.filter.authz.HostFilter
org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter$HttpMethodAction
org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
org.apache.shiro.web.filter.authz.PortFilter
org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
org.apache.shiro.web.filter.authz.SslFilter
org.apache.shiro.web.filter.mgt
java.io
java.lang
java.util
java.util.regex
javax.servlet
javax.servlet.http
org.apache.shiro.config
org.apache.shiro.subject
org.apache.shiro.util
org.apache.shiro.web.filter
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.filter.mgt

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 12 43.0% 80.0% 23.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.DefaultFilter
org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
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.util
org.apache.shiro.web.filter
org.apache.shiro.web.filter.authc
org.apache.shiro.web.filter.authz
org.apache.shiro.web.filter.session
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.filter.session

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 0.0% 80.0% 20.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shiro.web.filter.session.NoSessionCreationFilter
org.apache.shiro.web.filter.mgt
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
3 17 20.0% 85.0% 5.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.mgt.WebSecurityManager
org.apache.shiro.web.mgt.CookieRememberMeManager
org.apache.shiro.web.mgt.DefaultWebSecurityManager
org.apache.shiro.web.mgt.DefaultWebSessionStorageEvaluator
org.apache.shiro.web.mgt.DefaultWebSubjectFactory
org.apache.shiro.web.config
org.apache.shiro.web.env
org.apache.shiro.web.servlet
java.lang
java.util
javax.servlet
javax.servlet.http
org.apache.shiro.codec
org.apache.shiro.mgt
org.apache.shiro.realm
org.apache.shiro.session
org.apache.shiro.session.mgt
org.apache.shiro.subject
org.apache.shiro.util
org.apache.shiro.web.servlet
org.apache.shiro.web.session.mgt
org.apache.shiro.web.subject
org.apache.shiro.web.subject.support
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.servlet

Afferent Couplings Efferent Couplings Abstractness Instability Distance
6 25 32.0% 81.0% 12.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.servlet.AbstractFilter
org.apache.shiro.web.servlet.AbstractShiroFilter
org.apache.shiro.web.servlet.AdviceFilter
org.apache.shiro.web.servlet.Cookie
org.apache.shiro.web.servlet.NameableFilter
org.apache.shiro.web.servlet.OncePerRequestFilter
org.apache.shiro.web.servlet.AbstractShiroFilter$1
org.apache.shiro.web.servlet.IniShiroFilter
org.apache.shiro.web.servlet.ProxiedFilterChain
org.apache.shiro.web.servlet.ServletContextSupport
org.apache.shiro.web.servlet.ShiroFilter
org.apache.shiro.web.servlet.ShiroHttpServletRequest
org.apache.shiro.web.servlet.ShiroHttpServletRequest$ObjectPrincipal
org.apache.shiro.web.servlet.ShiroHttpServletResponse
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
org.apache.shiro.web.mgt
org.apache.shiro.web.session
org.apache.shiro.web.session.mgt
java.io
java.lang
java.net
java.security
java.text
java.util
java.util.concurrent
javax.servlet
javax.servlet.http
org.apache.shiro
org.apache.shiro.config
org.apache.shiro.io
org.apache.shiro.mgt
org.apache.shiro.session
org.apache.shiro.subject
org.apache.shiro.subject.support
org.apache.shiro.util
org.apache.shiro.web.config
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.mgt
org.apache.shiro.web.session
org.apache.shiro.web.subject
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.session

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 7 0.0% 78.0% 22.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shiro.web.session.HttpServletSession
org.apache.shiro.web.servlet
org.apache.shiro.web.session.mgt
java.io
java.lang
java.util
javax.servlet.http
org.apache.shiro.session
org.apache.shiro.util
org.apache.shiro.web.servlet

org.apache.shiro.web.session.mgt

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 12 33.0% 86.0% 19.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.DefaultWebSessionContext
org.apache.shiro.web.session.mgt.DefaultWebSessionManager
org.apache.shiro.web.session.mgt.ServletContainerSessionManager
org.apache.shiro.web.session.mgt.WebSessionKey
org.apache.shiro.web.mgt
org.apache.shiro.web.subject.support
java.io
java.lang
java.util
javax.servlet
javax.servlet.http
org.apache.shiro.authz
org.apache.shiro.session
org.apache.shiro.session.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.session
org.apache.shiro.web.util
org.slf4j

org.apache.shiro.web.subject

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 7 67.0% 70.0% 37.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.WebSubject$Builder
org.apache.shiro.web.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.subject.support
java.lang
javax.servlet
org.apache.shiro
org.apache.shiro.mgt
org.apache.shiro.subject
org.apache.shiro.web.subject.support
org.apache.shiro.web.util

org.apache.shiro.web.subject.support

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 11 0.0% 85.0% 15.000001%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.apache.shiro.web.subject.support.DefaultWebSubjectContext
org.apache.shiro.web.subject.support.WebDelegatingSubject
org.apache.shiro.web.mgt
org.apache.shiro.web.subject
java.lang
javax.servlet
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.util
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 9 23.0% 100.0% 23.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.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.PrincipalTag
org.apache.shiro.web.tags.UserTag
None java.beans
java.io
java.lang
java.lang.reflect
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
10 14 25.0% 58.0% 17.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.apache.shiro.web.util.RequestPairSource
org.apache.shiro.web.util.RedirectView
org.apache.shiro.web.util.SavedRequest
org.apache.shiro.web.util.WebUtils
org.apache.shiro.web.env
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
org.apache.shiro
org.apache.shiro.session
org.apache.shiro.subject
org.apache.shiro.subject.support
org.apache.shiro.util
org.apache.shiro.web.env
org.apache.shiro.web.filter
org.slf4j

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.util
org.apache.shiro.web.env
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.util
org.apache.shiro.web.env
org.apache.shiro.web.filter org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.filter.authc org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.filter.authz org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.filter.mgt org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.env
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.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.mgt org.apache.shiro.web.subject
org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.servlet org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.session org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.session.mgt org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.subject org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.subject.support org.apache.shiro.web.subject
org.apache.shiro.web.util
org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.util
org.apache.shiro.web.util org.apache.shiro.web.env
org.apache.shiro.web.filter.mgt
org.apache.shiro.web.servlet
org.apache.shiro.web.util

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.