| blib/lib/Protocol/Gearman.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 15 | 40.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 78 | 0 | 0 | 1 | builtin::reftype($self) eq "HASH" and ref(my $code = $self->{'gearman_method_new_future'}) eq "CODE" |
| 94 | 0 | 0 | 1 | builtin::reftype($self) eq "HASH" and ref(my $code = $self->{'gearman_method_send'}) eq "CODE" |
| 238 | 10 | 1 | 0 | $args[$_] =~ /\0/u and croak("Non-final argument [$_] of '\U$typename\E' cannot contain a \\0") |
| 486 | 0 | 0 | 2 | defined $methods{$_} and ref $methods{$_} eq "CODE" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 338 | 1 | 0 | 0 | $fh->read($body, $bodylen) or croak("Cannot read body - $!") |