| blib/lib/Protocol/Gearman.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 15 | 33.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 74 | 0 | 0 | 1 | reftype $self eq 'HASH' and ref(my $code = $$self{'gearman_method_new_future'}) eq 'CODE' |
| 89 | 0 | 0 | 1 | reftype $self eq 'HASH' and ref(my $code = $$self{'gearman_method_send'}) eq 'CODE' |
| 232 | 9 | 0 | 0 | $args[$_] =~ /\0/ and croak("Non-final argument [$_] of '\U$typename\E' cannot contain a \\0") |
| 479 | 0 | 0 | 2 | defined $methods{$_} and ref $methods{$_} eq 'CODE' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 331 | 1 | 0 | 0 | $fh->read($body, $bodylen) or croak("Cannot read body - $!") |