| blib/lib/Kelp/Module/YAML/KelpExtensions.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 14 | 78.5 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 0 | 13 | unless $self->content_type |
| 41 | 2 | 1 | ref $hash eq 'HASH' ? : |
| 44 | 3 | 3 | if @_ |
| 51 | 2 | 6 | unless $self->is_yaml |
| 55 | 1 | 4 | if @documents > 1 |
| 114 | 0 | 2 | unless &like(scalar $self->res->header("content-type"), qr/yaml/, "Content-Type is YAML") |
| 117 | 0 | 2 | unless cmp_deeply($json, $expected, $test_name) |