blib/lib/SHARYANTO/HTTP/DetectUA/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 14 | 100.0 |
line | true | false | branch |
---|---|---|---|
79 | 17 | 2 | if ($ua) |
81 | 11 | 6 | if ($ua =~ m[\b(?:Mozilla/|MSIE |Chrome/|Opera/| Profile/MIDP- )]x) |
88 | 4 | 13 | if ($ua =~ m[\b(?:Links |ELinks/|Lynx/|w3m/)]) |
94 | 4 | 15 | unless ($det) |
97 | 2 | 2 | if ($ac) |
98 | 1 | 1 | if ($ac =~ m[\b(?:image/)]) |
105 | 16 | 3 | if $$res{'is_gui_browser'} or $$res{'is_text_browser'} |