Branch Coverage

blib/lib/Duadua/Util.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
8 33 123 if (index($d->ua, 'Win') > -1 and index($d->ua, 'Win32') > -1 || index($d->ua, 'Windows') > -1) { }
29 94 elsif (index($d->ua, 'Android') > -1) { }
20 74 elsif (index($d->ua, 'iPhone') > -1) { }
2 72 elsif (index($d->ua, 'iPad') > -1 or index($d->ua, 'iPod') > -1) { }
2 70 elsif (index($d->ua, 'Macintosh') > -1 or index($d->ua, 'Mac OS') > -1) { }
2 68 elsif (index($d->ua, ' CrOS ') > -1) { }
14 54 elsif (index($d->ua, 'Linux') > -1) { }
40 40 36 if $position < $pre