line |
true |
false |
branch |
71
|
0 |
0 |
if $_[0]->shutdown_please
|
79
|
0 |
0 |
if $self->has_autoconfig
|
80
|
0 |
0 |
if (not $self->paused and my $job = $self->reserve) { }
|
|
0 |
0 |
elsif (not $self->cant_poll and $self->interval) { }
|
86
|
0 |
0 |
unless ($waiting)
|
87
|
0 |
0 |
$self->paused ? :
|
104
|
0 |
0 |
if (not $self->cant_fork and my $pid = fork) { }
|
112
|
0 |
0 |
if ($?)
|
122
|
0 |
0 |
unless $self->cant_fork
|
126
|
0 |
0 |
unless $self->cant_fork
|
151
|
0 |
0 |
unless $self->child
|
153
|
0 |
0 |
if (kill 0, $self->child) { }
|
165
|
0 |
0 |
unless @_
|
171
|
0 |
0 |
unless $queue
|
176
|
0 |
0 |
$_ eq $queue ? :
|
182
|
0 |
0 |
if ($self->cant_poll) { }
|
187
|
0 |
0 |
if (my $job = $self->resque->pop($queue))
|
231
|
0 |
0 |
unless eval {
|
242
|
0 |
0 |
$self->redis->exists($self->key('worker', $self->id)) ? :
|
268
|
0 |
0 |
if (my $str = shift())
|
298
|
0 |
0 |
if @all_workers
|
301
|
0 |
0 |
unless $host eq hostname()
|
302
|
0 |
0 |
if &any(sub {
|
321
|
0 |
0 |
if (%$hr)
|
345
|
0 |
0 |
if ($^O =~ /^(cygwin|MSWin32)$/i) { }
|
347
|
0 |
0 |
if s/^PID:\s*//
|
351
|
0 |
0 |
$^O eq 'solaris' ? :
|
356
|
0 |
0 |
if (/^\s*(\d+)\s(.+)$/)
|
361
|
0 |
0 |
wantarray ? :
|
367
|
0 |
0 |
unless $self->verbose
|
373
|
0 |
0 |
if (shift())
|
382
|
0 |
0 |
if (shift())
|
391
|
0 |
0 |
if ($self->exists($worker_id))
|
404
|
0 |
0 |
wantarray ? :
|