Branch Coverage

blib/lib/HTTP/Entity/Parser.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
36 0 24 unless ($LOADED{$klass})
51 22 2 if ($ct eq $handler->[0] or index($ct, $handler->[0]) == 0)
57 4 22 unless ($parser)
63 2 24 unless ($input)
69 0 24 if ($env->{'psgix.input.buffered'}) { }
77 21 3 if (my $cl = $env->{'CONTENT_LENGTH'}) { }
3 0 elsif ($chunked) { }
80 21 0 $cl < $buffer_length ? :
84 21 0 if $buffer
85 0 21 if ($read == 0 and $spin++ > 2000)
97 0 3 if ($read == 0)
98 0 0 if $spin++ > 2000
105 3 18 if ($chunk_len == 0) { }
0 18 elsif (length $chunk_buffer < $chunk_len + 2) { }
121 24 0 if ($buffer) { }