AAM_Service_AccessPolicy C

Total Complexity 119
Dependencies 22
Dependents 5
Total lines 1,080
Lines of code 514
Logical lines of code 313
Comment lines 416
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
_processRedirectParams()
B
43 18 45
applyAccessPolicyToObject()
A
45 12 43
convertedPostReadAction()
A
45 9 43
initializeUser()
A
46 9 38
initializeUri()
A
48 8 32
initializeVisibility()
S
51 7 24
managePolicyContent()
S
54 7 22
convertPostStatement()
S
54 7 22
initializeHooks()
S
39 2 67
__construct()
S
54 4 22
initializeAccessDeniedRedirect()
S
53 4 22
enrich_role_rest_output()
S
60 4 14
registerMetaboxes()
S
54 3 24
initializeRedirect()
S
60 3 13
filterPlugins()
S
60 3 12
initializeMetabox()
S
61 3 11
initializePost()
S
59 2 15
initializeToolbar()
S
64 3 9
initializeMenu()
S
64 3 9
initializeRoute()
S
62 3 10
isCapabilityAllowed()
S
71 2 5
isPluginActionAllowed()
S
65 2 9
convertedPostSimpleAction()
S
78 1 3