LLMS_REST_Enrollments_Controller C

Total Complexity 118
Dependencies 6
Dependents 2
Total lines 1,228
Lines of code 614
Logical lines of code 259
Comment lines 407
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
get_objects_query()
A
34 12 105
update_item()
A
44 14 42
prepare_items_query()
A
50 10 27
create_item()
A
47 8 33
enrollment_exists()
S
59 8 14
prepare_links()
S
48 3 38
delete_item_permissions_check()
S
56 4 18
delete_item()
S
57 4 16
prepare_collection_items_for_response()
S
61 4 13
handle_status_update()
S
62 4 11
register_routes()
S
45 1 52
get_item_schema_base()
S
44 1 52
check_read_permission()
S
65 4 9
get_items_permissions_check()
S
63 4 10
get_item_permissions_check()
S
60 3 13
get_object()
S
62 3 12
handle_creation_date_update()
S
53 2 26
get_endpoint_args_for_item_schema()
S
58 2 16
update_item_permissions_check()
S
63 3 10
create_item_permissions_check()
S
63 3 10
prepare_collection_query_args()
S
64 3 9
get_items()
S
68 3 7
build_collection_params()
S
58 1 16
check_update_permission()
S
79 2 3
get_item()
S
66 2 8
get_pagination_data_from_query()
S
68 2 6
prepare_object_for_response()
S
62 1 11
check_delete_permission()
S
80 1 3
check_create_permission()
S
80 1 3
__construct()
S
80 1 3
get_objects_from_query()
S
82 1 3
get_collection_params()
S
82 1 3
prepare_object_query_args()
S
65 1 9
set_collection_params()
S
81 1 3