Condition Coverage

blib/lib/CGI/PSGI.pm
Criterion Covered Total %
condition 14 29 48.2


and 3 conditions

line !l l&&!r l&&r condition
111 1 0 5 $type ne '' and not $type =~ /\bcharset\b/
1 0 5 $type ne '' and not $type =~ /\bcharset\b/ and defined $charset
0 0 5 $type ne '' and not $type =~ /\bcharset\b/ and defined $charset and $charset ne ''
128 0 0 0 ref $cookie && ref $cookie eq 'ARRAY'

or 2 conditions

line l !l condition
93 0 0 $type ||= 'text/html'
99 5 1 $charset ||= ''
118 6 0 $$self{'psgi_env'}{'SERVER_PROTOCOL'} || 'HTTP/1.0'
146 4 2 $status ||= '200'

or 3 conditions

line l !l&&r !l&&!r condition
139 0 0 6 $expires or $cookie
0 0 6 $expires or $cookie or $nph
158 4 2 0 $url ||= $self->self_url