-
Home
-
PublishPress Capabilities – User Role Editor, Access Permissions, User Capabilities, Admin Menus
-
2.3.2
-
Code
-
Classes
- Pp_Roles_Actions
Total Complexity |
84 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
492 |
Lines of code |
279 |
Logical lines of code |
173 |
Comment lines |
119 |
Methods |
13 |
Properties |
3 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
delete_role() |
C |
35 |
23 |
81 |
add_role() |
A |
43 |
11 |
45 |
hide_role() |
A |
46 |
11 |
39 |
unhide_role() |
A |
46 |
11 |
39 |
notify() |
S |
51 |
7 |
27 |
current_action() |
S |
61 |
7 |
12 |
__construct() |
S |
70 |
3 |
6 |
check_nonce() |
S |
67 |
3 |
7 |
is_ajax() |
S |
79 |
2 |
3 |
handle() |
S |
66 |
2 |
8 |
check_permissions() |
S |
70 |
2 |
6 |
notify_success() |
S |
79 |
1 |
3 |
notify_error() |
S |
79 |
1 |
3 |