Activecampaign_For_Woocommerce_Order_Utilities D

Total Complexity 193
Dependencies 27
Dependents 3
Total lines 1,378
Lines of code 923
Logical lines of code 394
Comment lines 293
Methods 30
Properties 6

Methods 30

Method Rating Maintainability Complexity Lines of code
get_wc_order()
B
37 22 80
sync_to_hosted()
B
36 17 90
get_product_category()
A
43 12 51
convert_money_to_cents()
A
43 10 53
setup_woocommerce_order_from_admin()
A
41 10 52
get_orders_from_unsynced_data()
A
45 10 46
get_wc_product_from_id()
A
50 10 29
build_ecom_order()
A
47 9 37
make_ecom_product_from_wc_product()
A
47 8 36
build_ecom_product()
A
44 6 47
build_products_for_order()
S
47 6 37
__construct()
S
53 6 27
is_refund_order()
S
53 6 24
get_accepts_marketing()
S
54 6 21
get_ac_order_id()
S
59 6 14
store_order_data()
S
48 4 39
get_product_image_url()
S
53 5 23
get_externalcheckoutid_from_table_by_orderid()
S
49 4 36
get_ac_orderid_from_wc_order()
S
49 4 34
get_coupon_data()
S
52 4 26
schedule_recurring_order_sync_task()
S
54 4 23
update_ac_order()
S
54 3 23
init()
S
65 4 9
build_order_url()
S
63 4 10
serialize_ecom_order_for_bulksync()
S
59 2 16
update_last_synced()
S
58 2 16
generate_externalcheckoutid()
S
65 3 8
get_order_by_id()
S
70 3 6
verify_order_status()
S
67 2 7
store_ac_id()
S
79 1 3