Branch Coverage

blib/lib/HTTP/Entity/Parser.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
36 0 24 unless ($LOADED{$klass})
48 0 26 unless ($ct)
55 22 2 if ($ct eq $handler->[0] or index($ct, $handler->[0]) == 0)
61 4 22 unless ($parser)
67 2 24 unless ($input)
73 0 24 if ($env->{'psgix.input.buffered'}) { }
81 21 3 if (my $cl = $env->{'CONTENT_LENGTH'}) { }
3 0 elsif ($chunked) { }
84 21 0 $cl < $buffer_length ? :
88 21 0 if $buffer
89 0 21 if ($read == 0 and $spin++ > 2000)
101 0 3 if ($read == 0)
102 0 0 if $spin++ > 2000
109 3 18 if ($chunk_len == 0) { }
0 18 elsif (length $chunk_buffer < $chunk_len + 2) { }
125 24 0 if ($buffer) { }