WP_Background_Process A

Total Complexity 57
Dependencies 2
Dependents 0
Total lines 489
Lines of code 210
Logical lines of code 122
Comment lines 199
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
handle()
A
49 13 30
get_batch()
S
51 3 28
get_memory_limit()
S
62 4 11
is_queue_empty()
S
57 3 16
maybe_handle()
S
63 3 12
handle_cron_healthcheck()
S
65 3 11
schedule_cron_healthcheck()
S
61 2 11
time_exceeded()
S
66 2 8
cancel_process()
S
69 2 7
save()
S
69 2 7
update()
S
71 2 6
clear_scheduled_event()
S
71 2 6
schedule_event()
S
73 2 5
is_process_running()
S
71 2 6
lock_process()
S
68 2 6
memory_exceeded()
S
64 2 9
__construct()
S
67 1 7
complete()
S
82 1 3
dispatch()
S
77 1 4
unlock_process()
S
76 1 4
generate_key()
S
71 1 5
delete()
S
77 1 4
push_to_queue()
S
76 1 4
task()
S
100 1 0