blib/lib/Plack/Middleware/DetectMobileBrowsers.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 6 | 66.6 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
24 | 2 | 0 | 1 | $$env{'HTTP_USER_AGENT'} =~ /$re_a_inclTablets/ or substr($$env{'HTTP_USER_AGENT'}, 0, 4) =~ /$re_b/ |
32 | 2 | 0 | 4 | $$env{'HTTP_USER_AGENT'} =~ /$re_a_noTablets/ or substr($$env{'HTTP_USER_AGENT'}, 0, 4) =~ /$re_b/ |