Branch Coverage

blib/lib/Test/HTTP/Syntax.pm
Criterion Covered Total %
branch 25 56 44.6


line true false branch
192 3 11 if (/^\s*>> /) { }
3 8 elsif (/^\s*<< /) { }
215 0 6 if /^\s*#/
216 3 3 if ($state eq 'first line') { }
3 0 elsif ($state eq 'in request') { }
0 0 elsif ($state eq 'in body') { }
217 0 3 unless /^\s*>> (\S+) (.*)/
223 0 3 if (/^\s*>>\s*$/) { }
0 3 elsif (/^\s*>> ([A-Za-z-]+): (.*)/) { }
3 0 elsif (/^\s*$/) { }
239 0 0 if (/^\s*>> (.*)/) { }
0 0 elsif (/^\s*$/) { }
250 0 3 if (@body)
270 0 4 if /^\s*#/
271 3 1 if ($state eq 'first line') { }
1 0 elsif ($state eq 'in header') { }
0 0 elsif ($state eq 'in body') { }
272 0 3 unless /^\s*<< (\d+)\s*$/
279 0 1 if (/^\s*<< ([A-Za-z-]+): (.*)/) { }
0 1 elsif (/^\s*~< ([A-Za-z-]+): (.*)/) { }
0 1 elsif (/^\s*<<\s*$/) { }
1 0 elsif (/^\s*$/) { }
297 0 0 if (/^\s*<< (.*)/) { }
0 0 elsif (/^\s*~< (.*)/) { }
0 0 elsif (/^\s*$/) { }
313 0 3 if (@body_exact and @body_res) { }
0 3 elsif (@body_exact) { }
0 3 elsif (@body_res) { }