-
Home
-
PublishPress Capabilities – User Role Editor, Access Permissions, Admin Menus
-
2.4.3
-
Code
-
Classes
- Pp_Roles_Actions
Total Complexity |
134 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
681 |
Lines of code |
409 |
Logical lines of code |
240 |
Comment lines |
150 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_role() |
D |
30 |
34 |
101 |
delete_role() |
C |
33 |
24 |
93 |
edit_role() |
B |
37 |
24 |
60 |
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 |