blib/lib/Duadua/Parser/Bot/Googlebot.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
9 | 318 | 49 | unless index($d->ua, "Google") > -1 |
11 | 18 | 31 | if (index($d->ua, "Googlebot") > -1 and index($d->ua, "Googlebot-") == -1) |
17 | 11 | 7 | if ($d->opt_version) |
19 | 11 | 0 | if $version |
25 | 1 | 30 | if (index($d->ua, "Google Favicon") > -1) |
34 | 1 | 29 | if (index($d->ua, "APIs-Google") > -1) |