WC_API_Server B

Total Complexity 97
Dependencies 8
Dependents 25
Total lines 745
Lines of code 342
Logical lines of code 215
Comment lines 248
Methods 19
Properties 7

Methods 19

Method Rating Maintainability Complexity Lines of code
dispatch()
B
38 18 64
get_index()
A
43 8 49
serve_request()
A
50 9 27
add_pagination_headers()
A
49 7 32
__construct()
S
50 7 28
format_datetime()
S
51 7 26
sort_callback_params()
S
54 6 19
get_routes()
S
60 6 12
is_xml_request()
S
64 5 9
get_headers()
S
60 4 12
is_json_request()
S
65 4 9
parse_datetime()
S
61 3 12
check_authentication()
S
63 3 9
link_header()
S
62 3 10
error_to_array()
S
65 3 9
send_status()
S
81 1 3
get_paginated_url()
S
69 1 6
get_raw_data()
S
80 1 3
header()
S
78 1 3