Condition Coverage

blib/lib/Gearman/Task.pm
Criterion Covered Total %
condition 16 27 59.2


and 3 conditions

line !l l&&!r l&&r condition
209 0 5 0 $name and $self->{'hooks'}{$name}
265 1 0 3 &Scalar::Util::blessed($ts) and $ts->isa('Gearman::Taskset')
288 1 3 3 $self->{'uniq'} && $self->{'uniq'} eq '-'
307 0 0 1 $client and $client->prefix

or 2 conditions

line l !l condition
171 2 2 shift() || {}
187 1 3 $self->{'retry_count'} ||= 0
314 1 0 $func || ''
1 0 $self->{'uniq'} || ''
1 0 ${$self->{'argref'};} || ''
360 3 0 $reason || 1

or 3 conditions

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