AAM_Restful_RoleService A

Total Complexity 57
Dependencies 9
Dependents 1
Total lines 674
Lines of code 404
Logical lines of code 150
Comment lines 192
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
__construct()
A
32 4 163
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
check_permissions()
S
76 2 4
_clone_settings()
S
63 1 11
_register_route()
S
67 1 9
_get_service()
S
74 1 5