Kadence_Blocks_Post_Rest_Controller A

Total Complexity 68
Dependencies 4
Dependents 1
Total lines 715
Lines of code 409
Logical lines of code 158
Comment lines 234
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
get_query_items()
B
39 17 61
prepare_query_item_for_response()
A
39 12 64
get_taxonomies_content()
A
47 9 38
get_query_params()
S
40 1 72
get_term_content()
S
55 4 19
register_routes()
S
50 1 38
get_allowed_post_types()
S
59 2 15
prepare_date_response()
S
65 3 9
get_tax_select_params()
S
53 1 23
get_allowed_tax_filters()
S
64 2 10
validate_post_source_string()
S
72 2 6
sanitize_allow_sticky()
S
80 2 3
get_term_params()
S
61 1 13
sanitize_results_page_number()
S
80 1 3
sanitize_post_perpage()
S
79 1 3
validate_post_ids()
S
80 1 3
__construct()
S
71 1 6
sanitize_post_ids()
S
79 1 3
sanitize_post_source_string()
S
80 1 3
validate_post_types()
S
80 1 3
validate_post_type_string()
S
75 1 4
sanitize_post_types()
S
75 1 4
get_items_permission_check()
S
80 1 3
sanitize_post_type_string()
S
80 1 3