blib/lib/Duadua/Parser/Bot/Bingbot.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
8 | 6 | 0 | if (index($d->ua, "bingbot/") > -1 and index($d->ua, "+http://www.bing.com/bingbot.htm") > -1 and index($d->ua, "Mozilla/") > -1) |
13 | 3 | 3 | if ($d->opt_version) |
15 | 3 | 0 | if $version |
30 | 2 | 4 | if (index($d->ua, 'Windows') > -1) { } |
2 | 2 | elsif (index($d->ua, 'iPhone') > -1) { } |