-
Home
-
AfterShip Tracking – All-In-One WooCommerce Order Tracking (Free plan available)
-
1.13.6
-
Code
-
Classes
- AfterShip_API_Server
Total Complexity |
98 |
Dependencies |
9 |
Dependents |
8 |
Total lines |
1,020 |
Lines of code |
615 |
Logical lines of code |
217 |
Comment lines |
505 |
Methods |
21 |
Properties |
7 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
dispatch() |
B |
38 |
18 |
64 |
convert_country_code() |
B |
21 |
2 |
256 |
get_index() |
A |
42 |
8 |
50 |
serve_request() |
A |
48 |
9 |
34 |
add_pagination_headers() |
A |
49 |
7 |
32 |
__construct() |
S |
50 |
7 |
29 |
sort_callback_params() |
S |
54 |
6 |
19 |
format_datetime() |
S |
55 |
5 |
20 |
get_routes() |
S |
60 |
5 |
12 |
get_headers() |
S |
57 |
4 |
16 |
is_xml_request() |
S |
64 |
5 |
9 |
is_json_request() |
S |
65 |
4 |
9 |
error_to_array() |
S |
62 |
3 |
12 |
parse_datetime() |
S |
61 |
3 |
12 |
link_header() |
S |
62 |
3 |
10 |
check_authentication() |
S |
62 |
3 |
10 |
is_legacy() |
S |
71 |
2 |
6 |
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 |