| blib/lib/Plack/Request/WithEncoding.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 16 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 23 | 3 | exists $env->{$k} ? : |
| 64 | 0 | 4 | if @_ == 0 |
| 67 | 3 | 1 | unless wantarray |
| 73 | 3 | 9 | unless $self->encoding |
| 76 | 1 | 8 | unless ($encoding) |
| 92 | 1 | 28 | if (ref $data eq 'ARRAY') { } |
| 1 | 27 | elsif (ref $data eq 'HASH') { } | |
| 107 | 27 | 0 | defined $data ? : |