Branch Coverage

blib/lib/Plack/HTTPParser/PP.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
12 0 710 unless length $chunk
15 710 0 if ($chunk =~ /^(.*?\x0d?\x0a\x0d?\x0a)/s)
34 2 2450 if (/^[ \t]+/) { }
35 0 2 unless @out
47 0 710 unless $http and $http =~ m[^HTTP/(\d+)\.(\d+)$]i
55 928 492 if defined $_ and length $_
65 2450 0 if ($header =~ s/^($token): ?//) { }
0 0 elsif ($header =~ /^\s+/) { }
70 2234 216 unless ($k =~ /^(?:CONTENT_LENGTH|CONTENT_TYPE)$/)
79 19 2431 if (exists $env->{$k}) { }