BWFAN_Abandoned_Cart D

Total Complexity 269
Dependencies 12
Dependents 4
Total lines 1,226
Lines of code 884
Logical lines of code 543
Comment lines 149
Methods 48
Properties 9

Methods 48

Method Rating Maintainability Complexity Lines of code
restore_cart()
B
36 21 76
restore_abandoned_cart()
B
37 20 72
insert_abandoned_cart()
B
35 18 82
bwfan_disable_abandoned_for_email()
B
42 20 49
process_guest_cart_details()
B
43 19 47
woocommerce_add_to_cart()
A
43 12 44
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
54 8 19
prefill_embed_forms()
S
60 8 13
maybe_attribute_cart_recovery()
S
47 6 38
remove_abandoned_data_from_table()
S
51 6 27
update_abandoned_cart()
S
57 6 15
__construct()
S
44 4 44
wfacp_assign_country()
S
60 6 13
maybe_set_recovered_key()
S
60 5 13
set_session_for_recovered_cart()
S
62 5 11
get_current_cart_details()
S
52 4 23
update_reports_view()
S
56 4 18
handle_restore_cart()
S
67 5 7
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
get_cart_by_key()
S
62 3 11
attach_order_id_to_abandoned_row()
S
56 2 19
get_cart_by_multiple_key()
S
64 3 10
check_aerocheckout_page()
S
68 3 7
get_woocommerce_default_checkout_nice_names()
S
49 1 30
maybe_delete_abandoned_row_and_tasks()
S
65 3 8
email_exists_in_patterns()
S
67 3 8
remove_carts_tab()
S
71 2 6
process_abandoned_cart()
S
70 2 6
get_instance()
S
72 2 6
set_session_cookies()
S
67 2 7
unset_session_key()
S
73 2 5
get_session_key()
S
71 2 6
remove_data_js()
S
73 2 5
set_data_for_js()
S
70 2 6
cart_updated_with_cookie()
S
73 2 5
check_for_cart_update_cookie()
S
72 2 6
get_checkout_data()
S
68 2 7
update_session_key()
S
73 2 5
save_order_total_base_in_order_meta()
S
75 1 4
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