Condition Coverage

blib/lib/Hypersonic/Protocol/HTTP1.pm
Criterion Covered Total %
condition 18 34 52.9


and 3 conditions

line !l l&&!r l&&r condition
338 1 1 7 defined $data and length $data

or 2 conditions

line l !l condition
30 37 0 $args{'status'} // 200
32 23 14 $args{'headers'} // {}
33 37 0 $args{'body'} // ""
34 37 0 $args{'keep_alive'} // 1
35 37 0 $args{'security_headers'} // ""
62 14 0 $args{'security_headers'} // ""
78 14 0 $analysis->{'methods_used'} // {}
246 23 0 $text{$code} // "Unknown"

or 3 conditions

line l !l&&r !l&&!r condition
31 14 23 0 $args{'status_text'} // _status_text($status)
37 0 37 0 $headers->{'Content-Type'} // ($body =~ /^\s*[\[{]/ ? "application/json" : "text/plain")
50 0 0 2 $h eq "Content-Type" or $h eq "Content-Length"
0 0 2 $h eq "Content-Type" or $h eq "Content-Length" or $h eq "Connection"
89 18 0 0 $method_lens{$method} // length $method