SSA_Capabilities S

Total Complexity 46
Dependencies 2
Dependents 0
Total lines 234
Lines of code 153
Logical lines of code 68
Comment lines 39
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
user_has_cap()
A
48 13 32
user_can_any()
S
60 5 13
maybe_install_roles()
S
65 4 9
user_can_all()
S
65 3 9
user_can_which()
S
67 3 8
members_register_caps()
S
62 2 12
init()
S
70 2 6
has_members_plugin()
S
70 2 6
get_all_caps()
S
62 1 11
current_user_can_all()
S
78 1 3
current_user_can_which()
S
78 1 3
current_user_can_any()
S
78 1 3
__construct()
S
77 1 4
current_user_all_caps()
S
79 1 3
hooks()
S
71 1 5
members_register_cap_group()
S
65 1 10
filter_members_get_capabilities()
S
79 1 3
remove_roles()
S
81 1 3
add_roles()
S
68 1 7
get_all_cap_slugs()
S
80 1 3