lib/Catalyst/TraitFor/Request/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 14 | 100.0 |
line | true | false | branch |
---|---|---|---|
31 | 33 | 14 | if $self->content_type |
34 | 4 | 43 | if ($self->method eq 'GET' and $self->param('content-type')) |
42 | 20 | 27 | if ($self->header('Accept')) |
43 | 10 | 10 | unless keys %types |
50 | 4 | 64 | if $types{$type} |
55 | 30 | 34 | unless (defined $$pair[2] and lc $$pair[2] eq 'q') |
59 | 30 | 34 | unless (defined $qvalue) |