| line |
true |
false |
branch |
|
67
|
0 |
0 |
unless ref $self |
|
125
|
0 |
0 |
unless $client |
|
126
|
0 |
0 |
unless $sleeping->{$client} |
|
128
|
0 |
0 |
if ($new_sleepers_list) { } |
|
135
|
0 |
0 |
unless %$sleeping |
|
154
|
0 |
0 |
unless defined $bref |
|
156
|
0 |
0 |
if ($self->{'fast_read'}) { } |
|
161
|
0 |
0 |
if $self->{'fast_read'} > 0 |
|
173
|
0 |
0 |
if (length $$bref == 61440) |
|
178
|
0 |
0 |
if length $$cref < 61440 or $limit-- < 1 |
|
190
|
0 |
0 |
if ($self->{'read_buf'} =~ /^\0REQ(.{8,8})/s) { } |
|
|
0 |
0 |
elsif ($self->{'read_buf'} =~ s/^(\w.+?)?\r?\n//) { } |
|
192
|
0 |
0 |
if ($blen < $len + 12) |
|
221
|
0 |
0 |
if $done |
|
229
|
0 |
0 |
if ($line and $line =~ /^(\w+)\s*(.*)/) |
|
233
|
0 |
0 |
if ($code) |
|
279
|
0 |
0 |
unless $job and $job->worker == $self |
|
296
|
0 |
0 |
unless $job and $job->worker == $self |
|
303
|
0 |
0 |
if (my $timer = $self->{'timer'}) |
|
316
|
0 |
0 |
unless $job and $job->worker == $self |
|
322
|
0 |
0 |
if (my $timer = $self->{'timer'}) |
|
338
|
0 |
0 |
unless $job and $job->worker == $self |
|
361
|
0 |
0 |
unless ($can_do_size) |
|
375
|
0 |
0 |
unless $job = $self->{'server'}->grab_job($job_to_grab) |
|
382
|
0 |
0 |
if (defined $timeout) |
|
386
|
0 |
0 |
unless $job->worker == $self |
|
420
|
0 |
0 |
if (defined $timeout) { } |
|
438
|
0 |
0 |
if ($$ar eq 'exceptions') |
|
452
|
0 |
0 |
unless length $self->{'client_id'} |
|
469
|
0 |
0 |
if $$ar =~ /\0/ |
|
474
|
0 |
0 |
if ($job) |
|
476
|
0 |
0 |
$job->worker ? : |
|
477
|
0 |
0 |
if (my $stat = $job->status) |
|
482
|
0 |
0 |
unless defined $num |
|
483
|
0 |
0 |
unless defined $den |
|
512
|
0 |
0 |
unless $$ar =~ s/^(.+?)\0(.*?)\0// |
|
520
|
0 |
0 |
if ($subscribe) { } |
|
553
|
0 |
0 |
unless $@ |
|
639
|
0 |
0 |
if ($job->worker) |
|
681
|
0 |
0 |
if (my $worker = $job->worker) |
|
740
|
0 |
0 |
if (my $worker = $job->worker) |
|
755
|
0 |
0 |
if ($has_gladiator) |
|
760
|
0 |
0 |
if (ref $it eq 'CODE') |
|
762
|
0 |
0 |
if $name =~ /ANON/ |
|
767
|
0 |
0 |
unless $ct{$n} > 1 or $args eq 'all' |
|
789
|
0 |
0 |
unless (length $func) |
|
806
|
0 |
0 |
if ($args eq 'graceful') { } |
|
|
0 |
0 |
elsif (not $args) { } |