WP_JSON_Server B

Total Complexity 96
Dependencies 8
Dependents 8
Total lines 722
Lines of code 326
Logical lines of code 212
Comment lines 271
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
dispatch()
B
36 22 77
serve_request()
B
37 18 71
prepare_response()
A
52 11 24
get_index()
A
46 8 40
sort_callback_params()
S
55 5 19
error_to_response()
S
57 5 16
get_routes()
S
60 5 12
get_json_last_error()
S
63 5 10
get_headers()
S
60 4 12
json_error()
S
68 2 7
send_headers()
S
73 2 5
get_raw_data()
S
69 2 7
get_avatar_url()
S
74 1 4
get_timezone()
S
74 1 4
check_authentication()
S
79 1 3
get_date_with_gmt()
S
74 1 4
parse_date()
S
74 1 4
send_header()
S
74 1 4
set_status()
S
81 1 3