Related_Posts_By_Taxonomy_Rest_API S

Total Complexity 30
Dependencies 2
Dependents 1
Total lines 380
Lines of code 185
Logical lines of code 71
Comment lines 147
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
A
48 9 31
filter_request_args()
S
55 4 19
get_item_schema()
S
44 1 60
get_item()
S
58 4 14
validate_args()
S
66 3 8
get_items_permissions_check()
S
71 3 6
register_routes()
S
53 1 23
sanitize_response_html()
S
65 2 9
get_item_permissions_check()
S
80 1 3
get_filter_args()
S
77 1 4
get_related_posts()
S
65 1 8