| blib/lib/Plack/App/Hash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 18 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 3 | 13 | if $self->auto_type |
| 29 | 1 | 15 | unless $content and exists $content->{$path} |
| 30 | 1 | 14 | if ref $content->{$path} |
| 34 | 8 | 6 | if (not defined $headers) { } |
| 2 | 4 | elsif (not ref $headers) { } | |
| 42 | 1 | 12 | if "ARRAY" ne ref $headers |
| 47 | 7 | 5 | unless $auto or $default |
| 48 | 2 | 3 | if Plack::Util::header_exists($headers, "Content-Type") |
| 53 | 10 | 2 | unless (Plack::Util::header_exists($headers, "Content-Length")) |