BWFAN_Abandoned_Cart D

Total Complexity 290
Dependencies 14
Dependents 4
Total lines 1,339
Lines of code 972
Logical lines of code 598
Comment lines 163
Methods 46
Properties 9

Methods 46

Method Rating Maintainability Complexity Lines of code
insert_abandoned_cart()
C
31 27 107
restore_abandoned_cart()
C
35 23 76
restore_cart()
B
35 22 80
process_guest_cart_details()
B
41 22 53
bwfan_disable_abandoned_for_email()
B
36 20 76
woocommerce_add_to_cart()
A
42 14 50
remove_abandoned_data_from_table()
A
42 11 51
disable_geolocation_recovery()
A
55 12 18
prefill_shipping_fields()
A
52 11 23
prefill_billing_fields()
A
52 11 23
maybe_attribute_cart_recovery()
A
46 7 39
create_abandoned_cart()
A
55 8 18
prefill_embed_forms()
S
60 8 13
__construct()
S
43 4 45
update_abandoned_cart()
S
57 6 15
wfacp_assign_country()
S
60 6 13
maybe_set_recovered_key()
S
58 5 15
set_session_for_recovered_cart()
S
62 5 11
get_current_cart_details()
S
52 4 23
handle_restore_cart()
S
67 5 7
process_abandoned_cart()
S
63 4 10
update_items_in_abandoned_table()
S
65 4 8
trigger_update_on_cart_and_checkout_pages()
S
71 4 6
delete_abandoned_cart()
S
61 3 13
attach_order_id_to_abandoned_row()
S
55 2 20
get_woocommerce_default_checkout_nice_names()
S
49 1 31
email_exists_in_patterns()
S
67 3 8
get_cart_by_multiple_key()
S
66 3 8
maybe_delete_abandoned_row_and_tasks()
S
64 3 9
check_aerocheckout_page()
S
68 3 7
get_cart_by_key()
S
63 3 10
get_instance()
S
72 2 6
remove_carts_tab()
S
71 2 6
set_session_cookies()
S
63 2 10
save_order_total_base_in_order_meta()
S
66 2 8
save_order_total_base_after_upsell_accepted()
S
70 2 6
remove_data_js()
S
73 2 5
set_data_for_js()
S
70 2 6
cart_updated_with_cookie()
S
71 2 6
check_for_cart_update_cookie()
S
72 2 6
get_checkout_data()
S
68 2 7
unset_session_key()
S
73 2 5
is_empty()
S
79 1 3
display_cart_wc_deactivate_notice()
S
72 1 5
cart_updated()
S
80 1 3
wfacp_country_fields_on_recovery()
S
74 1 4