Branch Coverage

blib/lib/Duadua/Parser/Bot/GooglebotMobile.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
9 316 30 unless index($d->ua, "oogle") > -1
11 1 29 if (index($d->ua, "googleweblight") > -1)
20 2 27 if (index($d->ua, "AdsBot-Google-Mobile") > -1 and index($d->ua, "AdsBot-Google-Mobile-") == -1)
29 1 26 if (index($d->ua, "AdsBot-Google-Mobile-Apps") > -1)
36 2 24 if (index($d->ua, 'SAMSUNG-SGH-E250/') == 0 || index($d->ua, 'DoCoMo/') == 0 and index($d->ua, " Googlebot-Mobile/") > -1)
44 2 22 if (index($d->ua, "DuplexWeb-Google") > -1)
50 1 1 if ($d->opt_version)
52 1 0 if $version