LLMS_REST_Lessons_Controller B

Total Complexity 81
Dependencies 1
Dependents 1
Total lines 776
Lines of code 401
Logical lines of code 140
Comment lines 253
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
D
34 42 69
get_item_schema_base()
A
32 1 149
prepare_collection_query_args()
A
48 8 35
update_additional_object_fields()
A
53 8 23
prepare_links()
A
44 6 47
prepare_object_for_response()
S
49 5 29
get_filters_to_be_removed_for_response()
S
58 2 18
get_parent_id()
S
79 2 3
check_read_permission()
S
71 2 6
__construct()
S
76 1 4
set_parent_id()
S
81 1 3
get_collection_params()
S
82 1 3
set_collection_params()
S
81 1 3
build_collection_params()
S
65 1 9