URE_Ajax_Processor A

Total Complexity 52
Dependencies 8
Dependents 1
Total lines 387
Lines of code 258
Logical lines of code 156
Comment lines 24
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
_dispatch()
A
43 15 49
get_role_caps()
S
49 5 32
get_users_without_role()
S
53 4 24
add_capability()
S
57 2 16
dispatch()
S
64 3 10
valid_nonce()
S
65 3 8
get_required_cap()
S
61 2 14
delete_capability()
S
62 2 12
get_action()
S
69 2 7
__construct()
S
74 2 4
user_can()
S
65 2 9
update_role()
S
63 1 11
add_role()
S
63 1 11
rename_role()
S
63 1 11
delete_role()
S
64 1 10
get_caps_to_remove()
S
72 1 5
grant_roles()
S
77 1 4
add_role_to_user()
S
77 1 4
revoke_role_from_user()
S
77 1 4
get_user_roles()
S
77 1 4
hide_pro_banner()
S
66 1 9