WooFunnels_DB_Updater D

Total Complexity 155
Dependencies 8
Dependents 1
Total lines 903
Lines of code 584
Logical lines of code 330
Comment lines 168
Methods 38
Properties 4

Methods 38

Method Rating Maintainability Complexity Lines of code
bwf_add_indexing_consent_button()
B
41 19 50
woofunnels_handle_db_upgrade_actions()
B
46 17 38
woofunnels_offer_accept_create_update_customer()
A
46 16 34
woofunnels_wc_order_create_contact()
A
41 8 58
woofunnels_show_contact_processing_notice()
A
39 4 95
woofunnels_maybe_update_customer_database()
A
55 8 18
capture_fatal_error()
S
53 6 20
maybe_flag_old_contacts_indexing()
S
56 6 16
maybe_clean_indexing()
S
50 5 26
capture_offer_accepted_event()
S
60 6 11
capture_fatal_error_contacts()
S
58 5 14
woofunnels_status_change_create_update_contact_customer()
S
57 4 15
bwf_update_contact_on_user_update()
S
66 5 8
bwf_maybe_restart_indexing()
S
68 4 6
maybe_dispatch_contact_table_indexing()
S
62 3 13
is_ignorable_error()
S
62 3 11
capture_wp_user_login_event()
S
64 3 9
capture_order_status_change_event()
S
63 3 9
capture_wc_thank_you_event()
S
66 3 8
bwf_update_refunded_amount()
S
71 3 5
bwf_edit_order_changes_to_customer()
S
70 3 6
__construct()
S
52 1 22
rest_init_register_async_request()
S
55 1 22
get_instance()
S
72 2 6
woofunnels_init_background_contacts_updater()
S
74 2 5
woofunnels_init_background_updater()
S
74 2 5
maybe_update_database_update_contacts()
S
65 2 9
bwf_index_orders_on_login()
S
70 1 6
maybe_change_state_on_success()
S
77 1 4
bwf_start_indexing()
S
66 1 8
get_upgrade_state()
S
79 1 3
set_upgrade_state()
S
79 1 3
ignorable_errors()
S
80 1 3
set_order_id_in_process()
S
81 1 3
get_order_id_process()
S
82 1 3
maybe_re_dispatch_background_process()
S
82 1 3
needs_upgrade()
S
79 1 3
bwf_contact_changes_to_customer()
S
70 1 6