blib/lib/Woothee/Browser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 9 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
15 | 45 | 21 | 489 | index($ua, 'compatible; MSIE') < 0 and index($ua, 'Trident/') < 0 |
66 | 0 | 489 | index($ua, 'compatible; MSIE') < 0 and index($ua, 'Trident/') < 0 and index $ua, 'IEMobile' | |
18 | 0 | 0 | 21 | $ua =~ m[Trident/([.0-9]+);]o and $ua =~ / rv:([.0-9]+)/o |