WCV_Order_Data_Synchronizer D

Total Complexity 129
Dependencies 8
Dependents 4
Total lines 1,343
Lines of code 776
Logical lines of code 382
Comment lines 348
Methods 39
Properties 3

Methods 39

Method Rating Maintainability Complexity Lines of code
handle_updated_order()
B
31 18 123
verify_customer_ids()
B
39 17 68
data_sync_progress_notice()
A
39 8 74
process_orders()
A
47 10 37
migrate_tracking_details()
A
42 8 54
migrate_vendor_id()
A
46 7 40
create_missing_sub_orders()
S
51 7 26
process_sub_orders()
S
48 6 34
update_in_progress_notice()
S
50 5 30
orders_without_sub_orders()
S
51 2 35
sync_orders()
S
60 3 14
progress_bar()
S
58 2 19
wcv_dismiss_sync_notice()
S
67 3 7
handle_hpos_feature_changed()
S
69 3 7
update_progress()
S
60 2 13
maybe_verify_customer_ids()
S
63 2 11
maybe_schedule_next_batch()
S
63 2 11
admin_enqueue_scripts()
S
55 1 24
get_pending_orders()
S
56 1 21
get_mismatched_order_customer_ids()
S
60 1 16
init_hooks()
S
57 1 16
process_updated_option()
S
70 2 7
get_sub_orders()
S
68 2 8
create_progress()
S
67 1 8
log()
S
79 1 3
get_order_vendor_ids()
S
76 1 4
get_vendors_from_order()
S
80 1 3
__construct()
S
70 1 7
get_logger()
S
77 1 4
maybe_schedule_create_missing_sub_orders()
S
73 1 6
maybe_reschedule_verify_customer_ids()
S
73 1 6
maybe_reschedule_vendor_id_migration()
S
73 1 6
maybe_schedule_hpos_data_sync()
S
73 1 6
maybe_schedule_tracking_details_migration()
S
73 1 6
data_sync_is_enabled()
S
79 1 3
cot_is_authoritative()
S
80 1 3
process_background_sync()
S
67 1 9
process_added_option()
S
79 1 3
done()
S
76 1 4