| blib/lib/Dancer/Serializer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 20 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 143 | 7 | if $_engine |
| 25 | 0 | 7 | if $serializer_name |
| 45 | 30 | 15 | if (ref $content and ref $content ne "GLOB") |
| 50 | 7 | 23 | if ($@) { } |
| 78 | 0 | 34 | unless engine() |
| 86 | 22 | 12 | unless engine()->support_content_type($content_type) |
| 88 | 1 | 0 | unless $request->is_put or $request->is_post or $request->is_patch or $request->is_delete |
| 101 | 1 | 10 | if ($@) |
| 108 | 2 | 8 | if (not ref $new_params or ref $new_params ne "HASH") |
| 112 | 0 | 8 | keys %$old_params ? : |