Branch Coverage

blib/lib/Plack/Middleware/Signposting/JSON.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
22 0 1 unless $request->method =~ /^get|head$/i
30 0 1 unless $content_type =~ m[^application/json]i
32 0 1 unless ref $res->[2] eq 'ARRAY'
37 1 0 if (ref $data and ref $data eq 'ARRAY')
42 1 0 $self->fix ? :
47 1 0 if ($data->{'signs'})
63 0 3 if $type