AAM_Restful_RoleService A

Total Complexity 57
Dependencies 9
Dependents 1
Total lines 661
Lines of code 397
Logical lines of code 150
Comment lines 188
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
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