Branch Coverage

blib/lib/AnyEvent/Redis/Protocol.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
30 0 0 if ($type eq '*') { }
0 0 elsif ($type eq '+' or $type eq ':') { }
0 0 elsif ($type eq '-') { }
0 0 elsif ($type eq '$') { }
33 0 0 if ($remaining == 0) { }
0 0 elsif ($remaining == -1) { }
42 0 0 if ($$handle{'rbuf'} =~ /^(\$(-?\d+)\015\012)/) { }
0 0 elsif ($$handle{'rbuf'} =~ s/^([\+\-:])([^\015\012]*)\015\012//) { }
0 0 elsif (substr($$handle{'rbuf'}, 0, 1) eq '*') { }
44 0 0 if ($vallen == -1) { }
0 0 elsif (length $$handle{'rbuf'} >= length($match) + $vallen + 2) { }
48 0 0 unless (--$remaining)
57 0 0 if $$handle{'encoding'} and $vallen
62 0 0 unless (--$remaining)
71 0 0 if ($type eq '+' or $type eq ':') { }
0 0 elsif ($type eq '-') { }
78 0 0 unless (--$remaining)
87 0 0 if (--$remaining) { }
114 0 0 if ($length == -1) { }
122 0 0 if $$handle{'encoding'} and $length