-
Home
-
PublishPress Capabilities – User Role Editor, Access Permissions, Admin Menus
-
2.10.1
-
Code
-
Classes
- Pp_Roles_Actions
Total Complexity |
151 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
721 |
Lines of code |
438 |
Logical lines of code |
263 |
Comment lines |
156 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_role() |
D |
26 |
45 |
120 |
edit_role() |
C |
35 |
30 |
70 |
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 |