Branch Coverage

blib/lib/Duadua/Parser/Browser/MicrosoftEdge.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
8 405 6 if index($d->ua, "Edg") == -1
10 4 2 if (index($d->ua, 'Edge/') > -1 || index($d->ua, 'Edg/') > -1 and index($d->ua, 'Windows') > -1 and index($d->ua, 'Mozilla/') > -1) { }
2 0 elsif (index($d->ua, 'EdgiOS/') > -1 and index($d->ua, 'Mozilla/') > -1) { }
17 2 2 if ($d->opt_version)
19 2 0 if $version
30 1 1 if ($d->opt_version)
32 1 0 if $version