WPCOM_REST_API_V3_Endpoint_Blogging_Prompts A

Total Complexity 62
Dependencies 5
Dependents 0
Total lines 545
Lines of code 339
Logical lines of code 142
Comment lines 132
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
A
42 15 51
filter_sql()
S
47 6 36
permissions_check()
S
55 6 19
build_answering_users_sample()
S
56 6 16
get_collection_params()
S
47 4 38
map_date_query()
S
59 5 13
prepare_date_response()
S
61 5 11
get_item_schema()
S
42 1 64
get_items()
S
57 3 16
get_item()
S
61 3 12
register_routes()
S
51 1 33
__construct()
S
61 2 11
modify_query()
S
67 2 8
get_bloganuary_id()
S
68 2 7
is_in_bloganuary()
S
74 1 4