WP_Query_Route_To_REST_API S

Total Complexity 45
Dependencies 6
Dependents 1
Total lines 420
Lines of code 219
Logical lines of code 128
Comment lines 122
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
sanitize_query_parameters()
C
29
23 137
get_items()
S
54 5 21
check_is_post_allowed()
S
65 3 9
plugin_compatibility_after_query()
S
72 3 5
get_response()
S
66 2 7
__construct()
S
72 1 5
register_routes()
S
68 1 7
get_items_permissions_check()
S
79 1 3
build_query()
S
68 1 7
_get_allowed_post_status()
S
75 1 4
check_is_post_status_allowed()
S
79 1 3
_get_allowed_post_types()
S
74 1 4
check_is_post_type_allowed()
S
79 1 3
plugin_compatibility_args()
S
77 1 4