-
Home
-
WooCommerce
-
4.9.1
-
Code
-
Classes
- WC_Abstract_Legacy_Order
Total Complexity |
124 |
Dependencies |
9 |
Dependents |
0 |
Total lines |
740 |
Lines of code |
429 |
Logical lines of code |
286 |
Comment lines |
240 |
Methods |
35 |
Properties |
0 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__get() |
C |
39 |
29 |
52 |
update_product() |
A |
46 |
14 |
35 |
legacy_set_total() |
A |
47 |
8 |
38 |
update_coupon() |
S |
53 |
7 |
23 |
display_item_downloads() |
S |
56 |
7 |
15 |
update_shipping() |
S |
54 |
6 |
21 |
update_fee() |
S |
57 |
5 |
17 |
update_tax() |
S |
57 |
5 |
17 |
get_item_downloads() |
S |
57 |
4 |
16 |
init() |
S |
61 |
4 |
12 |
get_order() |
S |
62 |
3 |
12 |
add_fee() |
S |
56 |
2 |
18 |
add_shipping() |
S |
55 |
2 |
18 |
set_address() |
S |
65 |
3 |
8 |
__isset() |
S |
68 |
3 |
4 |
get_product_from_item() |
S |
64 |
2 |
9 |
add_tax() |
S |
58 |
1 |
15 |
get_item_meta_array() |
S |
63 |
2 |
10 |
add_coupon() |
S |
59 |
1 |
14 |
cancel_order() |
S |
72 |
1 |
5 |
email_order_items_table() |
S |
75 |
1 |
4 |
send_stock_notifications() |
S |
80 |
1 |
3 |
reduce_order_stock() |
S |
75 |
1 |
4 |
decrease_coupon_usage_counts() |
S |
75 |
1 |
4 |
increase_coupon_usage_counts() |
S |
75 |
1 |
4 |
record_product_sales() |
S |
75 |
1 |
4 |
get_download_url() |
S |
64 |
1 |
9 |
populate() |
S |
70 |
1 |
6 |
expand_item_meta() |
S |
76 |
1 |
4 |
get_used_coupons() |
S |
75 |
1 |
4 |
get_item_meta() |
S |
74 |
1 |
4 |
get_total_shipping() |
S |
81 |
1 |
3 |
display_item_meta() |
S |
70 |
1 |
6 |
has_meta() |
S |
67 |
1 |
7 |
get_order_currency() |
S |
74 |
1 |
4 |