YARPP_Rest_Api S

Total Complexity 25
Dependencies 5
Dependents 1
Total lines 260
Lines of code 168
Logical lines of code 74
Comment lines 66
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
get_related_posts()
A
41 7 56
get_item_permissions_check()
S
55 5 19
register_api_routes()
S
53 2 25
cache_endpoints()
S
70 3 6
get_related_posts_args()
S
52 1 27
maybe_set_caching_headers()
S
62 2 10
get_posts_controller()
S
71 2 6
__construct()
S
74 1 4
get_public_item_schema()
S
63 1 10
ignore_post_type_filter_callback()
S
73 1 5