| blib/lib/Plack/Middleware/Precompressed.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 26 | 92.3 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 3 | 0 | defined $env ? : |
| 3 | 4 | $rules ? : | |
| 27 | 10 | 4 | $self->match ? : |
| 31 | 10 | 4 | if ($have_match) |
| 33 | 0 | 8 | unless $_ eq "gzip" |
| 41 | 8 | 6 | if $encoding |
| 42 | 8 | 6 | if ($encoding) |
| 47 | 8 | 6 | if $encoding |
| 51 | 4 | 10 | unless $have_match |
| 57 | 4 | 6 | if $is_fail |
| 59 | 5 | 1 | if ($encoding) |
| 61 | 2 | 3 | if $mime |
| 67 | 4 | 6 | $is_fail ? : |