Condition Coverage

blib/lib/Dancer2/Plugin/MobileDevice.pm
Criterion Covered Total %
condition 4 4 100.0


or 2 conditions

line l !l condition
20 20 19 ($self->app->request->user_agent || '') =~ /(?:iP(?:ad|od|hone)|Android|BlackBerry|Mobile|Palm)/ || 0
60 1 1 $vars->{'orig_layout'} || ''