| blib/lib/Dancer2/Plugin/REST.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 14 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 0 | 4 | $conf && exists $conf->{'serializers'} ? : |
| 52 | 15 | 0 | if $self->request->captures |
| 55 | 6 | 9 | unless defined $format |
| 57 | 1 | 8 | unless my $serializer = $serializers->{$format} |
| 85 | 1 | 2 | unless defined $resource and grep {$triggers{$_};} keys %actions |
| 107 | 12 | 834 | $a =~ /\d.*_/u ? : |
| 108 | 420 | 426 | $a =~ /^\d+$/u ? : |