Branch Coverage

blib/lib/HTTP/MessageParser.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
47 19 0 ref $_[0] ? :
53 14 2 if ($version >= 1000) { }
57 3 11 unless $$string =~ s/^$CRLF//o
62 1 1 unless $$string eq ''
71 19 0 ref $_[0] ? :
73 3 16 unless $$string =~ s/^$Request//o
81 13 0 ref $_[0] ? :
86 3 9 unless $$string =~ s/^$CRLF//o
95 13 0 ref $_[0] ? :
97 1 12 unless $$string =~ s/^$Response//o
105 27 0 ref $_[0] ? :
119 0 27 wantarray ? :
126 0 16 unless $string =~ m[^HTTP/([0-9]+)\.([0-9]+)$]
133 0 16 wantarray ? :