blib/lib/Dancer2/Plugin/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 10 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
70 | 0 | 1 | 2 | defined $resource and grep {$triggers{$_};} keys %actions |
line | l | !l | condition |
---|---|---|---|
51 | 10 | 6 | $format or '' |
85 | 10 | 0 | $http_code || 200 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 8 | 2 | 6 | $self->request->params->{'format'} || eval { do { $self->request->captures->{'format'} } } |