Activecampaign_For_Woocommerce_Order_Utilities D

Total Complexity 152
Dependencies 22
Dependents 2
Total lines 1,114
Lines of code 722
Logical lines of code 316
Comment lines 254
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
get_wc_order()
B
37 22 80
get_product_category()
A
43 12 51
get_wc_product_from_id()
A
50 10 29
build_ecom_order()
A
47 9 37
setup_woocommerce_order_from_admin()
A
43 8 48
make_ecom_product_from_wc_product()
A
47 8 36
build_ecom_product()
A
44 6 46
build_products_for_order()
S
48 6 36
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
schedule_recurring_order_sync_task()
S
54 4 23
__construct()
S
59 4 17
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
get_orders_from_unsynced_data()
S
65 3 9
convert_money_to_cents()
S
68 2 7
verify_order_status()
S
68 2 7
store_ac_id()
S
79 1 3