Condition Coverage

lib/Mojolicious/Plugin/Mobi.pm
Criterion Covered Total %
condition 3 5 60.0


or 2 conditions

line l !l condition
29 0 0 $c->req->headers->user_agent || $ENV{'HTTP_USER_AGENT'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
31 3 3 2 $user_agent =~ /$pattern/u || substr($user_agent, 0, 4) =~ /$pattern_ext/u