Branch Coverage

blib/lib/Dancer2/Plugin/REST.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
37 0 4 $conf && exists $conf->{'serializers'} ? :
47 15 0 if $self->request->captures
50 6 9 unless defined $format
52 1 8 unless my $serializer = $serializers->{$format}
80 1 2 unless defined $resource and grep {$triggers{$_};} keys %actions