Branch Coverage

blib/lib/POE/Filter/HTTPHead.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
58 65 375 if ($$self[1] == 1)
62 16 49 if ($line =~ m[^(\d{3})\s+(.+?)\s+HTTP/(\d+\.\d+)$]) { }
1 48 elsif ($line =~ /^(\d{3})\s+(.+?)$/) { }
0 48 elsif ($line =~ /^(\d{3})$/) { }
38 10 elsif ($line =~ m[^HTTP/(\d+\.\d+)\s+(\d{3})\s+(.*?)\s*$]) { }
0 10 elsif ($line =~ m[^HTTP/(\d+\.\d+)\s+(\d{3})\s*$]) { }
116 55 320 if ($line =~ /^\s*$/)
127 8 158 if $$self[0][$i] =~ /^\s+\S/
133 4 154 if ($i)
143 155 3 if ($line =~ m( ^ ([^\x00-\x19()<>\@,;:\\""\/\[\]\?={}\x20\t]+): \s*([^\x00-\x07\x09-\x19]+) $ )x)
261 40 2 if defined $lines