Total Complexity | 82 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 787 |
Lines of code | 406 |
Logical lines of code | 142 |
Comment lines | 254 |
Methods | 14 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
prepare_item_for_database() | 34 | 42 | 69 | |
get_item_schema() | 32 | 1 | 149 | |
prepare_links() | 43 | 7 | 53 | |
prepare_collection_query_args() | 48 | 8 | 35 | |
update_additional_object_fields() | 53 | 8 | 23 | |
prepare_object_for_response() | 49 | 5 | 29 | |
get_filters_to_be_removed_for_response() | 58 | 2 | 18 | |
get_parent_id() | 79 | 2 | 3 | |
check_read_permission() | 71 | 2 | 6 | |
__construct() | 80 | 1 | 3 | |
set_parent_id() | 81 | 1 | 3 | |
get_collection_params() | 82 | 1 | 3 | |
set_collection_params() | 81 | 1 | 3 | |
build_collection_params() | 65 | 1 | 9 |