Branch Coverage

blib/lib/Dancer2/Plugin/Negotiate.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
19 7 17 unless defined $variant and defined $options
33 0 5 unless defined $variant
36 2 3 if defined $options{'Type'}
37 0 5 if defined $options{'Encoding'}
39 2 3 if defined $options{'Charset'}
41 4 1 if defined $options{'Language'}
49 0 6 ref $_ eq 'HASH' ? :
0 6 ref $_ eq 'HASH' ? :
55 6 0 &$grep($opt) ? :
67 6 0 -e $view ? :
6 0 if defined $view
71 2 1 if $lang
72 3 0 if (wantarray) { }