lib/Mojolicious/Plugin/Mobi.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 5 | 80.0 |
line | l | !l | condition |
---|---|---|---|
26 | 8 | 0 | $c->req->headers->user_agent || $ENV{'HTTP_USER_AGENT'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
31 | 3 | 3 | 2 | $user_agent =~ /$pattern/ || substr($user_agent, 0, 4) =~ /$pattern_ext/ |