Pp_Roles_Actions C

Total Complexity 108
Dependencies 3
Dependents 1
Total lines 613
Lines of code 363
Logical lines of code 202
Comment lines 134
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
delete_role()
C
33 24 92
add_role()
B
38 16 65
edit_role()
B
41 16 51
hide_role()
A
46 11 39
unhide_role()
A
46 11 38
notify()
A
50 8 29
current_action()
S
61 7 12
__construct()
S
70 3 6
check_nonce()
S
68 3 6
is_ajax()
S
79 2 3
handle()
S
66 2 8
check_permissions()
S
72 2 5
notify_success()
S
79 1 3
notify_info()
S
79 1 3
notify_error()
S
79 1 3