Condition Coverage

blib/lib/Gearman/Worker.pm
Criterion Covered Total %
condition 3 19 15.7


and 3 conditions

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'}

or 2 conditions

line l !l condition
123 11 0 $storable ||= 0
322 0 0 delete $opts{'stop_if'} || sub { 0; }

or 3 conditions

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