BWFAN_Abandoned_Cart D

Total Complexity 334
Dependencies 15
Dependents 4
Total lines 1,504
Lines of code 1,079
Logical lines of code 665
Comment lines 191
Methods 46
Properties 9

Methods 46

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