| blib/lib/Dancer/Plugin/Device/Layout.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 18 | 88.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 53 | 4 | 0 | 1 | $is_tablet and not $$conf{'no_tablet'} |
| 3 | 0 | 1 | $is_mobile and not $$conf{'no_mobile'} |
| line | l | !l | condition |
|---|---|---|---|
| 26 | 4 | 1 | $$conf{'normal_layout'} //= 'normal' |
| 27 | 4 | 1 | $$conf{'mobile_layout'} //= 'mobile' |
| 28 | 4 | 1 | $$conf{'tablet_layout'} //= 'tablet' |
| 29 | 4 | 1 | $$conf{'no_tablet'} //= 0 |
| 30 | 4 | 1 | $$conf{'tablet_as_mobile'} //= 0 |
| 31 | 4 | 1 | $$conf{'no_mobile'} //= 0 |