BWFAN_Abandoned_Cart D

Total Complexity 434
Dependencies 22
Dependents 6
Total lines 1,813
Lines of code 1,291
Logical lines of code 826
Comment lines 277
Methods 55
Properties 11

Methods 55

Method Rating Maintainability Complexity Lines of code
insert_abandoned_cart()
D
27
43 122
capture_cart_blocks()
D
27
39 118
restore_abandoned_cart()
D
30 32 106
restore_cart()
C
32 29 92
create_abandoned_cart()
C
39 28 53
process_guest_cart_details()
C
40 25 54
remove_abandoned_data_from_table()
A
41 14 56
disable_geolocation_recovery()
A
55 12 18
prefill_shipping_fields()
A
52 11 23
prefill_billing_fields()
A
52 11 23
is_product_in_freegift()
A
51 9 24
attach_order_id_to_abandoned_row()
A
51 8 24
woocommerce_add_to_cart()
A
54 8 20
update_pushengage_token()
A
54 8 19
remove_duplicate_contact()
A
49 7 31
prefill_embed_forms()
S
60 8 13
maybe_set_recovered_key()
S
55 7 20
cart_updated_with_cookie()
S
55 7 18
remove_duplicate_cart()
S
48 6 32
wfacp_check_different_shipping()
S
59 7 14
get_last_abandoned_cart()
S
54 6 21
__construct()
S
42 4 48
update_abandoned_cart()
S
57 6 15
get_current_cart_details()
S
49 5 29
remove_session()
S
59 6 13
wfacp_assign_country()
S
60 6 13
add_to_cart()
S
49 4 30
set_session_for_recovered_cart()
S
62 5 11
wc_check_different_shipping()
S
61 5 11
get_contact_recovered_carts()
S
53 4 20
update_items_in_abandoned_table()
S
64 5 9
handle_restore_cart()
S
67 5 7
process_abandoned_cart()
S
62 5 10
recheck_abandoned_row()
S
62 4 10
trigger_update_on_cart_and_checkout_pages()
S
71 4 6
delete_abandoned_cart()
S
61 3 13
set_session_cookies()
S
60 3 12
get_woocommerce_default_checkout_nice_names()
S
48 1 34
check_aerocheckout_page()
S
68 3 7
email_exists_in_patterns()
S
67 3 8
get_cart_by_multiple_key()
S
66 3 8
get_cart_by_key()
S
67 3 6
save_order_total_base_after_upsell_accepted()
S
71 2 6
check_for_cart_update_cookie()
S
72 2 6
remove_data_js()
S
73 2 5
save_order_total_base_in_order_meta()
S
67 2 7
remove_carts_tab()
S
71 2 6
get_checkout_data()
S
68 2 7
get_instance()
S
72 2 6
unset_session_key()
S
71 2 6
set_data_for_js()
S
70 2 6
is_empty()
S
79 1 3
cart_updated()
S
80 1 3
display_cart_wc_deactivate_notice()
S
72 1 5
wfacp_country_fields_on_recovery()
S
74 1 4