Condition Coverage

blib/lib/HTTP/Message/PSGI.pm
Criterion Covered Total %
condition 13 19 68.4


and 3 conditions

line !l l&&!r l&&r condition
19 0 0 347 builtin::blessed($req) and $req->isa("HTTP::Request")
85 2 8 337 not defined $env->{'HTTP_HOST'} and $req->uri->can("host")

or 2 conditions

line l !l condition
46 346 1 $uri->path || '/'
24 323 $uri->query || ''
0 347 $req->protocol || 'HTTP/1.1'
346 1 $uri->path_query || '/'
193 0 0 $_[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
29 345 0 2 not $host or $host eq $uri->host_port