Branch Coverage

blib/lib/Dancer2/Plugin/HTTP/ContentNegotiation.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
185 0 0 @_ % 2 ? :
193 0 0 ref $_[0] eq 'ARRAY' ? :
194 0 0 if exists $options->{'default'}
210 0 0 if ($dsl->request->header($http_headers{$switch}))
219 0 0 unless ($selected)
222 0 0 exists $options->{'default'} ? :
227 0 0 unless ($selected)
236 0 0 if ($switch eq 'media_type')
239 0 0 if ($switch eq 'language')
244 0 0 if @choices > 1
313 0 0 unless exists $dsl->vars->{"http_chosen_$switch"}
315 0 0 if @_ >= 1
319 0 0 unless exists $dsl->vars->{"http_chosen_$switch"}
338 0 0 unless $choices
340 0 0 unless ref $choices eq 'ARRAY'
343 0 0 if (ref $coderef ne 'CODE')