-
Home
-
WooCommerce
-
7.8.0
-
Code
-
Classes
- WC_API_Server
| Total Complexity |
99 |
| Dependencies |
8 |
| Dependents |
25 |
| Total lines |
760 |
| Lines of code |
349 |
| Logical lines of code |
220 |
| Comment lines |
253 |
| 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 |
5 |
12 |
| is_xml_request() |
S |
64 |
5 |
9 |
| get_headers() |
S |
60 |
4 |
12 |
| get_raw_data() |
S |
63 |
4 |
10 |
| is_json_request() |
S |
65 |
4 |
9 |
| parse_datetime() |
S |
61 |
3 |
12 |
| check_authentication() |
S |
63 |
3 |
9 |
| error_to_array() |
S |
65 |
3 |
9 |
| link_header() |
S |
62 |
3 |
10 |
| send_status() |
S |
81 |
1 |
3 |
| header() |
S |
78 |
1 |
3 |
| get_paginated_url() |
S |
69 |
1 |
6 |