WPPFM_Background_Process C

Total Complexity 108
Dependencies 3
Dependents 0
Total lines 927
Lines of code 436
Logical lines of code 284
Comment lines 348
Methods 34
Properties 8

Methods 34

Method Rating Maintainability Complexity Lines of code
handle()
C
31 27 107
lock_process()
A
48 9 33
maybe_handle()
S
54 6 21
is_process_running()
S
54 6 21
get_batch()
S
50 5 28
handle_cron_health_check()
S
60 5 15
end_batch()
S
59 4 14
refresh_process_lock()
S
61 4 12
get_memory_limit()
S
62 4 11
is_current_process_locked()
S
60 3 13
time_exceeded()
S
62 3 11
schedule_cron_health_check()
S
56 2 19
is_queue_empty()
S
57 2 17
save()
S
57 2 16
schedule_event()
S
68 3 7
__construct()
S
64 2 9
update()
S
71 2 6
memory_exceeded()
S
63 2 10
clear_scheduled_event()
S
71 2 6
dispatch()
S
77 1 4
push_to_queue()
S
76 1 4
nr_of_products_in_queue()
S
79 1 3
apply_filter_to_queue()
S
70 1 6
clear_the_queue()
S
77 1 4
set_file_path()
S
77 1 4
set_feed_data()
S
77 1 4
set_pre_data()
S
77 1 4
set_channel_details()
S
77 1 4
set_relations_table()
S
77 1 4
delete()
S
77 1 4
generate_key()
S
71 1 5
unlock_process()
S
76 1 4
complete()
S
72 1 6
task()
S
100 1 0