Capabilities A

Total Complexity 69
Dependencies 5
Dependents 9
Total lines 440
Lines of code 228
Logical lines of code 112
Comment lines 149
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
can_manage_booking()
A
57 8 16
can_read_booking()
A
58 8 16
assign_capabilities_for_user_roles()
S
55 6 19
remove_capabilities()
S
56 5 17
can_manage_calendar()
S
61 5 13
can_read_calendar()
S
61 5 13
can_manage_event()
S
61 5 13
can_read_event()
S
61 5 13
grant_super_admin_capabilities()
S
61 5 12
get_current_user_capabilities()
S
59 4 14
get_basic_capabilities()
S
61 4 12
get_role_capabilities()
S
55 2 22
get_core_capabilities()
S
50 1 31
current_user_can()
S
70 3 6
get_all_capabilities()
S
66 2 8
handle_super_admin_capabilities()
S
78 1 3