Condition Coverage

blib/lib/Dancer2/Plugin/REST.pm
Criterion Covered Total %
condition 9 14 64.2


and 3 conditions

line !l l&&!r l&&r condition
37 0 4 0 $conf && exists $conf->{'serializers'}
80 0 1 2 defined $resource and grep {$triggers{$_};} keys %actions

or 2 conditions

line l !l condition
95 8 0 $http_code || 200

or 3 conditions

line l !l&&r !l&&!r condition
47 7 2 6 $format ||= $self->request->captures->{'format'}
63 7 1 0 $content_types->{$format} || $self->setting('content_type')