| blib/lib/Plack/Middleware/Precompressed.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 26 | 92.3 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 3 | 0 | defined $env ? : |
| 3 | 4 | $rules ? : | |
| 29 | 10 | 4 | $self->match ? : |
| 33 | 10 | 4 | if ($have_match) |
| 34 | 0 | 8 | unless $_ eq 'gzip' |
| 43 | 8 | 6 | if $encoding |
| 44 | 8 | 6 | if ($encoding) |
| 49 | 8 | 6 | if $encoding |
| 53 | 4 | 10 | unless $have_match |
| 59 | 4 | 6 | if $is_fail |
| 61 | 5 | 1 | if ($encoding) |
| 63 | 2 | 3 | if $mime |
| 69 | 4 | 6 | $is_fail ? : |