| blib/lib/Gearman/Worker.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 19 | 21.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 221 | 0 | 0 | 0 | $self->_on_connect($sock) and $on_connect |
| 0 | 0 | 0 | $self->_on_connect($sock) and $on_connect and &$on_connect($sock) | |
| 373 | 0 | 0 | 0 | $!{'EPIPE'} and $self->{'parent_pipe'} |
| line | l | !l | condition |
|---|---|---|---|
| 123 | 11 | 0 | $storable ||= 0 |
| 322 | 1 | 0 | delete $opts{'stop_if'} || sub { 0; } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 120 | 11 | 0 | 0 | not defined &Gearman::Worker::THROW_EXCEPTIONS or &THROW_EXCEPTIONS() |
| 207 | 0 | 1 | 0 | $self->{'down_since'}{$js_str} ||= $now |