APPMAKER_WP_REST_Posts_Controller C

Total Complexity 124
Dependencies 7
Dependents 0
Total lines 1,260
Lines of code 941
Logical lines of code 316
Comment lines 196
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
get_item_schema()
D
22
19 272
get_items()
C
30 24 112
get_collection_params()
A
32 10 131
prepare_item_for_response()
A
36 7 86
check_read_permission()
A
52 11 24
handle_status_param()
A
53 9 24
get_item()
S
51 7 23
get_comments()
S
48 5 34
prepare_items_query()
S
57 6 16
get_content()
S
48 3 40
register_routes()
S
45 1 54
check_is_post_type_allowed()
S
65 4 9
get_allowed_query_vars()
S
52 2 26
prepare_date_response()
S
66 3 9
prepare_excerpt_response()
S
64 3 10
validate_user_can_query_private_statuses()
S
63 3 10
__construct()
S
69 3 6
add_comment_params()
S
53 1 27
add_comment()
S
56 1 19
prepare_password_response()
S
64 2 9