Total Complexity | 114 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 1,206 |
Lines of code | 787 |
Logical lines of code | 199 |
Comment lines | 289 |
Methods | 13 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_additional_object_fields() | 56 | 123 | ||
prepare_item_for_database() | 39 | 33 | 55 | |
get_item_schema_base() | 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() | 68 | 1 | 7 | |
get_object_id() | 80 | 1 | 3 | |
get_enrollments_collection_params() | 64 | 1 | 10 |