-
Home
-
Advanced Access Manager – Restricted Content, Users & Roles, Enhanced Security and More
-
6.9.43 (latest)
-
Code
-
Classes
- AAM_Restful_RoleService
Total Complexity |
57 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
664 |
Lines of code |
400 |
Logical lines of code |
151 |
Comment lines |
187 |
Methods |
15 |
Properties |
0 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
32 |
6 |
157 |
create_role() |
A |
48 |
7 |
34 |
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 |
delete_role() |
S |
61 |
2 |
13 |
get_role() |
S |
62 |
2 |
12 |
_clone_settings() |
S |
63 |
1 |
11 |
_register_route() |
S |
67 |
1 |
9 |
_get_service() |
S |
74 |
1 |
5 |