line |
true |
false |
branch |
174
|
6 |
0 |
unless (ref $self) |
186
|
0 |
6 |
if exists $opts{'exceptions'} |
189
|
0 |
6 |
if defined $opts{'backoff_max'} |
192
|
0 |
6 |
if defined $opts{'command_timeout'} |
221
|
0 |
0 |
scalar @_ ? : |
228
|
0 |
0 |
unless defined $js_map{$self->_js_str($js)} |
230
|
0 |
0 |
unless my $sock = $self->_get_js_sock($js) |
237
|
0 |
0 |
if ($err) |
266
|
0 |
0 |
unless ($line =~ /^(\S+)\s+(\d+)\s+(\d+)\s+(\d+)$/) |
299
|
0 |
0 |
unless $line =~ /^(\S+)\s+(\S*)\s+(\S+)\s+(\d+)$/ |
329
|
0 |
0 |
if ($line =~ /^(\S+)$/) { } |
|
0 |
0 |
elsif ($client and $line =~ /^\s+(\S+)\s+(\S*)\s+(\S+)$/) { } |
353
|
1 |
6 |
if (ref $_[0]) { } |
355
|
0 |
1 |
unless $task->isa('Gearman::Task') |
362
|
0 |
6 |
ref $arg_p ? : |
363
|
0 |
6 |
unless ref $argref eq 'SCALAR' |
426
|
0 |
1 |
unless $hookname |
429
|
0 |
1 |
unless $hook |
433
|
0 |
1 |
if $@ |
444
|
0 |
2 |
unless $hookname |
446
|
1 |
1 |
if (@_) { } |
466
|
0 |
0 |
unless $handle |
478
|
0 |
0 |
unless $js |
481
|
0 |
0 |
unless $sock |
489
|
0 |
0 |
if ($res and $res->{'type'} eq 'error') |
494
|
0 |
0 |
unless $res and $res->{'type'} eq 'status_res' |
499
|
0 |
0 |
unless $args[0] |
521
|
0 |
0 |
unless $res |
523
|
0 |
0 |
if $res->{'type'} eq 'error' |
524
|
0 |
0 |
if $res->{'type'} eq 'option_res' |
539
|
0 |
0 |
if (my $sock = $self->_sock_cache($js, undef, 1)) |
540
|
0 |
0 |
if $sock->connected |
545
|
0 |
0 |
if defined $disabled_until and $disabled_until > &Time::HiRes::time() |
548
|
0 |
0 |
unless ($sock) |
552
|
0 |
0 |
$disable_for > $max ? : |
562
|
0 |
0 |
if ($self->{'exceptions'} and not $self->_option_request($sock, 'exceptions')) |
576
|
6 |
0 |
unless $self->{'js_count'} |
587
|
0 |
0 |
unless my $sock = &$getter($js) |