| blib/lib/Whelk/Formatter/JSON.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Whelk::Formatter::JSON; | ||||||
| 2 | $Whelk::Formatter::JSON::VERSION = '1.04'; | ||||||
| 3 | 18 | 18 | 11286 | use Kelp::Base 'Whelk::Formatter'; | |||
| 18 | 79 | ||||||
| 18 | 126 | ||||||
| 4 | |||||||
| 5 | attr response_format => sub { 'json' }; | ||||||
| 6 | |||||||
| 7 | 1; | ||||||
| 8 |