Branch Coverage

blib/lib/APR/Emulate/PSGI.pm
Criterion Covered Total %
branch 26 42 61.9


line true false branch
60 1 1 defined $env ? :
104 0 3 if ($status eq '204' or $status eq '304' or $status =~ /^1/) { }
140 4 2 if defined $$self{'headers_in'}
142 1 1 $$self{'cgi_mode'} ? :
153 4 0 if defined $$environment{$field}
167 1 1 if ($$self{'cgi_mode'})
181 0 0 if ($$self{'cgi_mode'})
195 0 0 if ($$self{'cgi_mode'})
209 0 0 if ($$self{'cgi_mode'})
225 1 1 if ($$self{'cgi_mode'})
279 1 1 $value ? :
280 0 2 if $previous_value eq $$self{'no_cache'}
283 1 1 if ($$self{'no_cache'}) { }
302 0 5 if scalar @value
314 0 5 if scalar @value
329 2 0 if (scalar @value)
332 1 1 if ($$self{'cgi_mode'})
341 0 1 if $$self{'headers_sent'}
342 1 0 if (my $status = $self->status_line || $self->status || '200 OK')
367 2 0 $success ? :
443 4 0 if scalar @keys == 0