Condition Coverage

blib/lib/Dancer/Plugin/Resource.pm
Criterion Covered Total %
condition 24 35 68.5


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 0 $conf && exists $$conf{'serializers'}
93 6 0 2 $options{'parent'} and $routes{$options{'parent'}}
105 14 1 1 $options{$type} and ref $options{$type} eq ''
427 13 0 7 $code >= 400 and ref $_[0] eq ''

or 2 conditions

line l !l condition
90 1 7 'Dancer::App'->current->prefix || ''
101 2 14 $options{$_} ||= sub { undef; }
282 8 12 'Dancer::App'->current->prefix || ''
290 12 24 'Dancer::App'->current->prefix || ''
298 8 12 'Dancer::App'->current->prefix || ''
306 8 12 'Dancer::App'->current->prefix || ''
348 20 0 $http_code ||= 200

or 3 conditions

line l !l&&r !l&&!r condition
73 0 0 0 $$content_types{$format} || setting('content_type')
85 0 8 0 $options{'skip_prepare_serializer'} or (caller)[1] =~ /^(?:t|xt)/
320 16 1 64 _function_exists("${package}::${verb}_$function") || _function_exists("${package}::${function}_$verb")