blib/lib/Gearman/Taskset.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 37 | 13.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
73 | 1 | 0 | 4 | &Scalar::Util::blessed($client) and $client->isa('Gearman::Client') |
115 | 0 | 3 | 0 | $name and $self->{'hooks'}{$name} |
226 | 0 | 0 | 0 | not $self->{'cancelled'} and keys %{$$self{'waiting'};} |
232 | 0 | 0 | 0 | $timeout and $time_left <= 0 |
420 | 0 | 0 | 0 | $task and ref $task eq 'Gearman::Task' |
437 | 1 | 0 | 1 | $task and ref $task eq 'Gearman::Task' |
473 | 0 | 0 | 0 | $task and ref $task eq 'Gearman::Task' |
498 | 0 | 0 | 0 | $task and ref $task eq 'Gearman::Task' |
line | l | !l | condition |
---|---|---|---|
285 | 0 | 0 | $rv ||= 0 |
450 | 0 | 0 | $self->{'waiting'}{$shandle} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
244 | 0 | 0 | 0 | $parser{$fd} ||= 'Gearman::ResponseParser::Taskset'->new('source', $sock, 'taskset', $self) |
319 | 0 | 0 | 0 | $self->{'loaned_sock'}{$hostport} || $self->{'client'}->_get_js_sock($hostport) |
324 | 0 | 0 | 0 | $self->{'loaned_sock'}{$jst} ||= $jss |