-
Home
-
WooCommerce
-
8.5.2
-
Code
-
Classes
- WC_API_Orders
Total Complexity |
298 |
Dependencies |
11 |
Dependents |
0 |
Total lines |
1,861 |
Lines of code |
1,097 |
Logical lines of code |
618 |
Comment lines |
408 |
Methods |
32 |
Properties |
2 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
edit_order() |
D |
32 |
32 |
88 |
get_order() |
C |
26 |
25 |
150 |
set_line_item() |
C |
35 |
29 |
75 |
create_order() |
C |
34 |
27 |
74 |
create_order_refund() |
A |
42 |
15 |
48 |
set_fee() |
A |
44 |
14 |
44 |
get_order_refund() |
A |
40 |
12 |
53 |
set_order_addresses() |
A |
45 |
12 |
42 |
edit_order_refund() |
A |
45 |
12 |
39 |
edit_order_note() |
A |
44 |
11 |
42 |
bulk() |
A |
44 |
10 |
45 |
set_shipping() |
A |
48 |
11 |
30 |
create_order_note() |
A |
47 |
9 |
32 |
set_coupon() |
A |
49 |
9 |
30 |
get_variation_id() |
A |
52 |
9 |
25 |
delete_order_note() |
S |
50 |
7 |
27 |
delete_order_refund() |
S |
51 |
6 |
24 |
get_orders_count() |
S |
51 |
6 |
24 |
get_order_note() |
S |
51 |
5 |
25 |
get_orders() |
S |
57 |
4 |
16 |
set_order_meta() |
S |
67 |
5 |
7 |
query_orders() |
S |
52 |
3 |
24 |
get_order_notes() |
S |
55 |
3 |
19 |
get_order_refunds() |
S |
56 |
3 |
17 |
set_item() |
S |
57 |
3 |
15 |
item_is_null() |
S |
64 |
4 |
9 |
register_routes() |
S |
47 |
1 |
39 |
update_address() |
S |
67 |
3 |
7 |
array_contains() |
S |
67 |
3 |
8 |
delete_order() |
S |
64 |
2 |
9 |
get_order_statuses() |
S |
67 |
2 |
7 |
create_base_order() |
S |
80 |
1 |
3 |