| blib/lib/Gearman/Worker.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 19 | 21.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 211 | 0 | 0 | 0 | $self->_on_connect($sock) and $on_connect |
| 0 | 0 | 0 | $self->_on_connect($sock) and $on_connect and &$on_connect($sock) | |
| 357 | 0 | 0 | 0 | $!{'EPIPE'} and $self->{'parent_pipe'} |
| line | l | !l | condition |
|---|---|---|---|
| 113 | 11 | 0 | $storable ||= 0 |
| 309 | 1 | 0 | delete $opts{'stop_if'} || sub { 0; } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 110 | 11 | 0 | 0 | not defined &Gearman::Worker::THROW_EXCEPTIONS or &THROW_EXCEPTIONS() |
| 197 | 0 | 1 | 0 | $self->{'down_since'}{$ipport} ||= $now |