Branch Coverage

blib/lib/Plack/Middleware/Signposting/JSON.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
22 0 2 unless $request->method =~ /^get|head$/i
30 0 2 unless $content_type =~ m[^application/json|application\/vnd\.api\+json]i
32 0 2 unless ref $res->[2] eq "ARRAY"
37 1 1 if (ref $data and ref $data eq "ARRAY")
41 1 1 $self->fix ? :
46 2 0 if ($data->{'signs'})