-
Home
-
PublishPress Capabilities – User Role Editor, Access Permissions, User Capabilities, Admin Menus
-
2.19.0
-
Code
-
Classes
- Pp_Roles_Actions
Total Complexity |
146 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
720 |
Lines of code |
435 |
Logical lines of code |
259 |
Comment lines |
157 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_role() |
D |
27 |
44 |
121 |
edit_role() |
C |
36 |
26 |
66 |
delete_role() |
C |
33 |
24 |
93 |
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 |