Branch Coverage

blib/lib/Duadua/Parser/Bot/GooglebotMisc.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
8 177 17 unless index($d->ua, "Google") > -1
10 2 15 if (index($d->ua, "Googlebot-Image") > -1)
16 1 1 if ($d->opt_version)
18 1 0 if $version
24 1 14 if (index($d->ua, "Googlebot-News") > -1)
31 2 12 if (index($d->ua, "Googlebot-Video") > -1)
37 1 1 if ($d->opt_version)
39 1 0 if $version
45 1 11 if (index($d->ua, "FeedFetcher-Google") == 0)
52 2 9 if (index($d->ua, " AppEngine-Google;") > -1 or index($d->ua, "AppEngine-Google; ") > -1)
59 2 7 if (index($d->ua, " Google-Site-Verification") > -1)
65 1 1 if ($d->opt_version)
67 1 0 if $version
73 1 6 if (index($d->ua, " Google Page Speed Insights") > -1)