| blib/lib/Dancer/Serializer/JSON.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 0 | 38 | unless $self->loaded |
| 53 | 26 | 6 | if (setting("environment") eq "development" and not defined $options->{'pretty'}) |
| 79 | 22 | 0 | unless exists $options->{'utf8'} |
| 86 | 52 | 2 | if scalar @_ == 0 |
| 88 | 2 | 0 | if (scalar @_ == 1) { } |
| 0 | 0 | elsif (scalar @_ % 2) { } |