Branch Coverage

blib/lib/POE/Filter/HTTP/Parser.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
21 4 3 if ($opts{'type'} and defined $type_map{$opts{'type'}})
24 0 7 unless $opts{'type'} and $opts{'type'} =~ /^(request|response)$/
41 12 20 unless $string
46 1 19 if ($@ and $self->{'type'} eq 'request')
51 0 0 if ($@ and $self->{'debug'})
57 19 0 if (defined $status and $status == 0)
60 8 11 if $data
75 4 3 if ($self->{'type'} eq 'request') { }
103 4 0 if $status_message ne $message
104 0 4 if length $message
126 3 0 defined $uri ? :
129 3 0 if $proto
156 1 0 unless $data or scalar @{$self->{'BUFFER'};}
157 0 0 $data ? :
164 5 0 if eval { do { require bytes } }