line |
true |
false |
branch |
15
|
489 |
21 |
if index($ua, 'compatible; MSIE') < 0 and index($ua, 'Trident/') < 0 and index $ua, 'IEMobile' |
18
|
45 |
21 |
if ($ua =~ /MSIE ([.0-9]+);/o) { } |
|
21 |
0 |
elsif ($ua =~ m[Trident/([.0-9]+);]o and $ua =~ / rv:([.0-9]+)/o) { } |
|
0 |
0 |
elsif ($ua =~ m[IEMobile/([.0-9]+);]o) { } |
35
|
474 |
6 |
if index($ua, 'YaBrowser/') < 0 |
39
|
6 |
0 |
if ($ua =~ m[YaBrowser/([.0-9]+)]o) |
50
|
480 |
9 |
if index($ua, 'Vivaldi/') < 0 |
54
|
9 |
0 |
if ($ua =~ m[Vivaldi/([.0-9]+)]o) |
65
|
399 |
75 |
if index($ua, 'Safari/') < 0 |
69
|
3 |
72 |
if ($ua =~ m[Edge/([.0-9]+)]o) |
77
|
3 |
69 |
if ($ua =~ m[FxiOS/([.0-9]+)]o) |
85
|
33 |
36 |
if ($ua =~ m[(?:Chrome|CrMo|CriOS)/([.0-9]+)]o) |
87
|
9 |
24 |
if ($ua =~ m[OPR/([.0-9]+)]o) |
95
|
3 |
21 |
if (index($ua, 'wv') > -1) |
107
|
30 |
6 |
if ($ua =~ m[Version/([.0-9]+)]o) |
118
|
375 |
27 |
if index($ua, 'Firefox/') < 0 |
121
|
27 |
0 |
if ($ua =~ m[Firefox/([.0-9]+)]o) { } |
135
|
345 |
30 |
if index($ua, 'Opera') < 0 |
138
|
12 |
18 |
if ($ua =~ m[Version/([.0-9]+)]o) { } |
|
18 |
0 |
elsif ($ua =~ m[Opera[/ ]([.0-9]+)]o) { } |
159
|
9 |
336 |
if ($ua =~ /iP(hone;|ad;|od) .*like Mac OS X/o) { } |
|
3 |
333 |
elsif (index($ua, 'wv') > -1) { } |
160
|
0 |
9 |
if index($ua, 'Safari/') > -1 |
162
|
3 |
6 |
if ($ua =~ m[Version/([.0-9]+)]o) |
171
|
3 |
0 |
if ($ua =~ m[Version/([.0-9]+)]o) |
187
|
165 |
3 |
if index($ua, 'Sleipnir/') < 0 |
190
|
3 |
0 |
if ($ua =~ m[Sleipnir/([.0-9]+)]o) { } |