Total Complexity | 43 |
Dependencies | 3 |
Dependents | 3 |
Total lines | 408 |
Lines of code | 260 |
Logical lines of code | 101 |
Comment lines | 76 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_query_items() | 41 | 14 | 51 | |
prepare_query_item_for_response() | 38 | 12 | 70 | |
get_query_params() | 40 | 1 | 72 | |
prepare_date_response() | 65 | 3 | 9 | |
get_allowed_post_types() | 59 | 2 | 15 | |
sanitize_allow_sticky() | 80 | 2 | 3 | |
register_routes() | 61 | 1 | 14 | |
__construct() | 77 | 1 | 4 | |
get_items_permission_check() | 80 | 1 | 3 | |
sanitize_post_ids() | 79 | 1 | 3 | |
validate_post_ids() | 80 | 1 | 3 | |
sanitize_post_perpage() | 79 | 1 | 3 | |
sanitize_results_page_number() | 80 | 1 | 3 | |
validate_post_type_string() | 75 | 1 | 4 | |
sanitize_post_type_string() | 80 | 1 | 3 |