Branch Coverage

blib/lib/Dancer/Plugin/Device/Layout.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
34 0 5 $request ? :
35 0 5 $browser->tablet ? :
36 0 5 $browser->mobile ? :
39 5 0 if ($args{'override_device'})
40 3 2 if ($args{'override_device'} eq 'normal') { }
1 1 elsif ($args{'override_device'} eq 'tablet') { }
1 0 elsif ($args{'override_device'} eq 'mobile') { }
53 1 4 if ($is_tablet and not $$conf{'no_tablet'}) { }
1 6 elsif ($is_mobile and not $$conf{'no_mobile'}) { }
57 0 1 if ($$conf{'tablet_as_mobile'})
65 1 4 wantarray ? :