Activecampaign_For_Woocommerce_Order_Utilities D

Total Complexity 193
Dependencies 27
Dependents 3
Total lines 1,407
Lines of code 937
Logical lines of code 408
Comment lines 300
Methods 31
Properties 6

Methods 31

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_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 46
build_products_for_order()
S
47 6 37
get_orders_from_unsynced_data()
S
49 6 33
__construct()
S
53 6 27
is_refund_order()
S
53 6 24
get_accepts_marketing()
S
54 6 21
clean_description()
S
50 5 28
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_ac_order_id()
S
59 5 14
get_coupon_data()
S
52 4 26
schedule_recurring_order_sync_task()
S
54 4 23
update_ac_order()
S
54 3 23
build_order_url()
S
63 4 10
init()
S
65 4 9
serialize_ecom_order_for_bulksync()
S
59 2 16
update_last_synced()
S
58 2 16
get_order_by_id()
S
70 3 6
generate_externalcheckoutid()
S
65 3 8
verify_order_status()
S
67 2 7
store_ac_id()
S
79 1 3