AAM_Core_Restful_Role A

Total Complexity 72
Dependencies 10
Dependents 1
Total lines 791
Lines of code 476
Logical lines of code 195
Comment lines 219
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
__construct()
A
30 6 179
create_role()
A
46 9 39
update_role()
A
46 7 41
prepare_role_output()
S
52 6 25
_validate_keys_array_input()
S
54 6 22
_validate_fields_input()
S
54 6 22
get_role_permissions()
S
57 6 17
_validate_role_slug_uniqueness()
S
51 5 30
delete_role()
S
54 4 22
_prepare_error_response()
S
60 4 12
_validate_role_accessibility()
S
59 2 16
_determine_additional_fields()
S
65 3 9
get_role()
S
60 2 14
get_role_list()
S
66 2 8
bootstrap()
S
72 2 6
_clone_settings()
S
71 1 5
_register_route()
S
67 1 9