-
Home
-
WooCommerce
-
6.2.0
-
Code
-
Classes
- WC_REST_Orders_V2_Controller
Total Complexity |
152 |
Dependencies |
11 |
Dependents |
0 |
Total lines |
1,809 |
Lines of code |
1,425 |
Logical lines of code |
278 |
Comment lines |
267 |
Methods |
25 |
Properties |
5 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_item_schema() |
D |
12 |
1 |
846 |
get_formatted_item_data() |
B |
32 |
18 |
112 |
prepare_object_for_database() |
B |
41 |
22 |
48 |
save_object() |
B |
43 |
20 |
40 |
get_order_item_data() |
A |
42 |
15 |
46 |
prepare_objects_query() |
A |
45 |
9 |
43 |
prepare_line_items() |
S |
55 |
7 |
16 |
maybe_set_item_meta_data() |
S |
62 |
7 |
10 |
get_product_id() |
S |
58 |
6 |
14 |
set_item() |
S |
53 |
5 |
23 |
register_routes() |
S |
41 |
1 |
73 |
prepare_shipping_lines() |
S |
60 |
5 |
11 |
prepare_fee_lines() |
S |
60 |
5 |
11 |
prepare_coupon_lines() |
S |
61 |
5 |
11 |
prepare_links() |
S |
55 |
3 |
21 |
item_is_null() |
S |
64 |
4 |
9 |
prepare_object_for_response() |
S |
61 |
3 |
11 |
get_collection_params() |
S |
50 |
1 |
31 |
update_address() |
S |
67 |
3 |
7 |
get_object() |
S |
68 |
3 |
7 |
merge_meta_item_with_formatted_meta_display_attributes() |
S |
59 |
2 |
15 |
maybe_set_item_prop() |
S |
73 |
2 |
5 |
maybe_set_item_props() |
S |
73 |
2 |
5 |
get_order_statuses() |
S |
68 |
2 |
7 |
filter_writable_props() |
S |
79 |
1 |
3 |