| blib/lib/APR/Emulate/PSGI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 35 | 34.2 |
| line | l | !l | condition |
|---|---|---|---|
| 82 | 0 | 4 | $self->status_line || $self->status || '200' |
| 109 | 3 | 0 | $$self{'content_type'} || 'text/html' |
| 223 | 0 | 2 | $offset ||= 0 |
| 278 | 1 | 1 | $$self{'no_cache'} || 0 |
| 342 | 0 | 1 | $self->status_line || $self->status || '200 OK' |
| 343 | 0 | 1 | $$self{'psgi_env'}{'psgi.url_scheme'} || 'http' |
| 346 | 1 | 0 | $$self{'content_type'} || 'text/html' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 104 | 0 | 0 | 3 | $status eq '204' or $status eq '304' |
| 0 | 0 | 3 | $status eq '204' or $status eq '304' or $status =~ /^1/ | |
| 196 | 0 | 0 | 0 | $$self{'uri'} //= 'URI'->new($ENV{'REQUEST_URI'}) |
| 198 | 0 | 0 | 0 | $$self{'uri'} //= 'URI'->new($$self{'psgi_env'}{'REQUEST_URI'}) |
| 239 | 0 | 0 | 0 | $$self{'pool'} //= 'APR::MyPool'->new |
| 256 | 7 | 2 | 0 | $$self{'headers_out'} //= APR::MyTable::make() |
| 267 | 0 | 0 | 0 | $$self{'err_headers_out'} //= APR::MyTable::make() |