Total Complexity | 114 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 1,192 |
Lines of code | 786 |
Logical lines of code | 198 |
Comment lines | 285 |
Methods | 13 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_additional_object_fields() | 56 | 123 | ||
prepare_item_for_database() | 39 | 33 | 55 | |
get_item_schema() | 1 | 347 | ||
prepare_object_for_response() | 38 | 8 | 73 | |
prepare_links() | 45 | 3 | 45 | |
get_filters_to_be_removed_for_response() | 45 | 2 | 54 | |
register_routes() | 48 | 1 | 41 | |
get_taxonomy_rest_base() | 63 | 3 | 10 | |
get_course_content_items() | 66 | 3 | 8 | |
get_course_content_collection_params() | 63 | 1 | 11 | |
__construct() | 70 | 1 | 6 | |
get_object_id() | 80 | 1 | 3 | |
get_enrollments_collection_params() | 64 | 1 | 10 |