Branch Coverage

blib/lib/Net/HTTPServer/Request.pm
Criterion Covered Total %
branch 27 34 79.4


line true false branch
134 5 1 if defined $$self{'REQUEST'}
145 6 3 unless defined $cookie
146 1 2 unless exists $$self{'COOKIES'}{$cookie}
156 6 6 unless defined $env
157 2 4 unless exists $$self{'ENV'}{$env}
167 6 4 unless defined $header
168 1 3 unless exists $$self{'HEADERS'}{lc $header}
219 0 0 if (exists $$self{'SESSION'})
232 0 1 unless $$self{'SERVER'}{'CFG'}{'SESSIONS'}
234 1 0 unless (exists $$self{'SESSION'})
267 10 8 exists $$self{'ARGS'}{$arg} ? :
282 0 5 unless $$self{'CHROOT'}
355 0 52 if ($folded ne '')
362 5 47 unless defined $key
368 0 47 if (lc $key eq 'expect' and $value ne '100-continue')
387 1 4 if ($$self{'METHOD'} eq 'POST')
400 3 2 if (exists $$self{'HEADERS'}{'cookie'})