Condition Coverage

blib/lib/Gearman/Task.pm
Criterion Covered Total %
condition 14 26 53.8


and 3 conditions

line !l l&&!r l&&r condition
243 0 7 0 $name and $self->{'hooks'}{$name}
299 1 0 2 &Scalar::Util::blessed($ts) and $ts->isa('Gearman::Taskset')
322 0 3 3 $self->{'uniq'} && $self->{'uniq'} eq '-'

or 2 conditions

line l !l condition
201 16 1 shift() || {}
221 1 16 $self->{'retry_count'} ||= 0
346 0 0 $func || ''
0 0 $self->{'uniq'} || ''
0 0 ${$self->{'argref'};} || ''
392 4 0 $reason || 1
653 26 9 $self->{'priority'} ||= 'normal'

or 3 conditions

line l !l&&r !l&&!r condition
197 8 0 9 shift() || do { my $empty = ''; \$empty }