blib/lib/Gearman/ResponseParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 20 | 70.0 |
line | true | false | branch |
---|---|---|---|
30 | 1 | 3 | if %opts |
97 | 9 | 0 | ref $data ? : |
109 | 9 | 7 | unless ($hdr_len == 12) |
112 | 1 | 8 | unless length $self->{'header'} == 12 |
115 | 0 | 8 | unless $magic eq "\000RES" |
130 | 2 | 5 | $lendata > $need ? : |
134 | 5 | 2 | if ($to_copy == $need) |
140 | 3 | 6 | if (defined $self->{'pkt'} and length ${$self->{'pkt'}{'blobref'};} == $self->{'pkt'}{'len'}) |
175 | 0 | 0 | unless (defined $rv) |
182 | 0 | 0 | unless ($rv) |