WP_Query_Route_To_REST_API S

Total Complexity 41
Dependencies 6
Dependents 1
Total lines 397
Lines of code 200
Logical lines of code 115
Comment lines 120
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_items()
C
28
25 146
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
_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