blib/lib/Duadua/Parser/Browser/AppleSafari.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
9 | 126 | 176 | if index($d->ua, "http") > -1 |
10 | 20 | 156 | if index($d->ua, "Browser/") > -1 |
11 | 1 | 155 | if index($d->ua, "HatenaBookmark/Android") > -1 |
13 | 2 | 153 | if (index($d->ua, "Mozilla/5.0 (Mac") > -1 and index($d->ua, "Safari/") > -1) |
19 | 1 | 1 | if ($d->opt_version) |
21 | 1 | 0 | if $version |
27 | 6 | 147 | if (index($d->ua, "Mozilla/5.0") > -1 and "Duadua::Util"->ordering_match($d, [" AppleWebKit/", " Version/", " Safari/"])) |
33 | 3 | 3 | if ($d->opt_version) |
35 | 3 | 0 | if $version |