Total Complexity | 39 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 408 |
Lines of code | 259 |
Logical lines of code | 101 |
Comment lines | 76 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
prepare_query_item_for_response() | 37 | 12 | 72 | |
get_query_items() | 43 | 10 | 48 | |
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 |