blib/lib/Gearman/Taskset.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 37 | 13.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
74 | 1 | 0 | 4 | &Scalar::Util::blessed($client) and $client->isa('Gearman::Client') |
116 | 0 | 3 | 0 | $name and $self->{'hooks'}{$name} |
231 | 0 | 0 | 0 | not $self->{'cancelled'} and keys %{$$self{'waiting'};} |
236 | 0 | 0 | 0 | $timeout and $time_left <= 0 |
425 | 0 | 0 | 0 | $task and ref $task eq 'Gearman::Task' |
442 | 1 | 0 | 1 | $task and ref $task eq 'Gearman::Task' |
478 | 0 | 0 | 0 | $task and ref $task eq 'Gearman::Task' |
503 | 0 | 0 | 0 | $task and ref $task eq 'Gearman::Task' |
line | l | !l | condition |
---|---|---|---|
287 | 0 | 0 | $rv ||= 0 |
455 | 0 | 0 | $self->{'waiting'}{$shandle} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
247 | 0 | 0 | 0 | $parser{$fd} ||= 'Gearman::ResponseParser::Taskset'->new('source', $sock, 'taskset', $self) |
322 | 0 | 0 | 0 | $self->{'loaned_sock'}{$js} || $self->{'client'}->_get_js_sock($js) |
329 | 0 | 0 | 0 | $self->{'loaned_sock'}{$js_str} ||= $jss |