Condition Coverage

blib/lib/Gearman/Taskset.pm
Criterion Covered Total %
condition 9 38 23.6


and 2 conditions

line l !l condition
554 0 2 ref $task_list eq 'ARRAY' and scalar @{$task_list;}

and 3 conditions

line !l l&&!r l&&r condition
75 1 0 4 &Scalar::Util::blessed($client) and $client->isa('Gearman::Client')
117 0 1 0 $name and $self->{'hooks'}{$name}
232 0 0 0 not $self->{'cancelled'} and keys %{$$self{'waiting'};}
237 0 0 0 $timeout and $time_left <= 0
426 0 0 2 &Scalar::Util::blessed($task) and $task->isa('Gearman::Task')
446 3 0 4 &Scalar::Util::blessed($task) and $task->isa('Gearman::Task')

or 2 conditions

line l !l condition
288 0 0 $rv ||= 0
430 0 2 $msg || 'jshandle fail'
467 0 0 $self->{'waiting'}{$shandle} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
248 0 0 0 $parser{$fd} ||= 'Gearman::ResponseParser::Taskset'->new('source', $sock, 'taskset', $self)
323 0 0 0 $self->{'loaned_sock'}{$js} || $self->{'client'}->_get_js_sock($js)
330 0 0 0 $self->{'loaned_sock'}{$js_str} ||= $jss
546 1 0 0 $shandle ||= $blob