Condition Coverage

lib/Mojolicious/Plugin/Mobi.pm
Criterion Covered Total %
condition 4 5 80.0


or 2 conditions

line l !l condition
26 8 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/ || substr($user_agent, 0, 4) =~ /$pattern_ext/