-
Home
-
Advanced Access Manager – Restricted Content, Users & Roles, Enhanced Security and More
-
6.9.37
-
Code
-
Classes
- AAM_Restful_RoleService
Total Complexity |
57 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
666 |
Lines of code |
406 |
Logical lines of code |
153 |
Comment lines |
184 |
Methods |
15 |
Properties |
0 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
31 |
6 |
169 |
create_role() |
A |
49 |
7 |
31 |
prepare_role_output() |
S |
53 |
6 |
23 |
_validate_fields_input() |
S |
54 |
6 |
22 |
_validate_keys_array_input() |
S |
54 |
6 |
22 |
get_role_permissions() |
S |
57 |
6 |
17 |
_validate_role_slug_uniqueness() |
S |
51 |
5 |
30 |
get_role_list() |
S |
61 |
3 |
12 |
update_role() |
S |
53 |
2 |
24 |
_determine_additional_fields() |
S |
65 |
3 |
9 |
get_role() |
S |
63 |
2 |
11 |
delete_role() |
S |
63 |
2 |
11 |
_clone_settings() |
S |
63 |
1 |
11 |
_register_route() |
S |
67 |
1 |
9 |
_get_service() |
S |
74 |
1 |
5 |