Branch Coverage

blib/lib/POE/Filter/HTTP/Parser.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
24 4 3 if ($opts{'type'} and defined $type_map{$opts{'type'}})
27 0 7 unless $opts{'type'} and $opts{'type'} =~ /^(request|response)$/
44 12 20 unless $string
49 1 19 if ($@ and $$self{'type'} eq 'request')
54 0 19 if ($@ and $$self{'debug'})
60 19 0 if (defined $status and $status == 0)
63 8 11 if $data
78 4 3 if ($$self{'type'} eq 'request') { }
106 4 0 if $status_message ne $message
107 0 4 if length $message
129 3 0 defined $uri ? :
132 3 0 if $proto
159 1 0 unless $data or scalar @{$$self{'BUFFER'};}
160 0 0 $data ? :
167 5 0 if eval { do { require bytes } }