Branch Coverage

blib/lib/Duadua/Parser/Bot/GooglebotMisc.pm
Criterion Covered Total %
branch 44 52 84.6


line true false branch
8 187 31 unless $d->_contain("Google")
10 2 29 if ($d->_contain("Googlebot-Image"))
16 1 1 if ($d->opt_version)
18 1 0 if $version
24 1 28 if ($d->_contain("Googlebot-News"))
31 2 26 if ($d->_contain("Googlebot-Video"))
37 1 1 if ($d->opt_version)
39 1 0 if $version
45 4 22 if ($d->_contain("Storebot-Google"))
51 2 2 if ($d->opt_version)
53 2 0 if $version
59 4 18 if ($d->_contain("Google-InspectionTool"))
65 2 2 if ($d->opt_version)
67 2 0 if $version
73 2 16 if ($d->_prefix('GoogleOther-')) { }
3 13 elsif ($d->_contain('GoogleOther')) { }
81 0 2 if ($d->opt_version)
83 0 0 if $version
94 1 2 if ($d->ua eq "GoogleOther")
101 1 12 if ($d->_prefix("FeedFetcher-Google"))
108 2 10 if ($d->_contain(" AppEngine-Google;") or $d->_contain("AppEngine-Google; "))
115 2 8 if ($d->_contain(" Google-Site-Verification"))
121 1 1 if ($d->opt_version)
123 1 0 if $version
129 1 7 if ($d->_contain(" Google Page Speed Insights"))
138 1 6 if ($d->_prefix("GoogleProducer;"))