Branch Coverage

blib/lib/Gearman/ResponseParser.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
31 1 3 if %opts
98 9 0 ref $data ? :
110 9 7 unless ($hdr_len == 12)
113 1 8 unless length $self->{'header'} == 12
116 0 8 unless $magic eq "\000RES"
131 2 5 $lendata > $need ? :
135 5 2 if ($to_copy == $need)
141 3 6 if (defined $self->{'pkt'} and length ${$self->{'pkt'}{'blobref'};} == $self->{'pkt'}{'len'})
176 0 0 unless (defined $rv)
183 0 0 unless ($rv)