WP_Background_Process A

Total Complexity 53
Dependencies 1
Dependents 0
Total lines 492
Lines of code 206
Logical lines of code 120
Comment lines 201
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
handle()
A
50 10 29
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
get_batch()
S
52 2 25
schedule_cron_healthcheck()
S
62 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