Branch Coverage

blib/lib/Dancer/Plugin/REST.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
24 0 1 $conf && exists $$conf{'serializers'} ? :
38 0 0 unless my $format = params()->{'format'}
40 0 0 unless my $serializer = $$serializers{$format}
73 0 3 unless @_
78 1 9 unless my $method = $triggers_map{$t}
81 2 7 if ($t eq 'create') { }
173 3 5 if ($code >= 400) { }