Condition Coverage

blib/lib/Mojolicious/Plugin/Images/Util.pm
Criterion Covered Total %
condition 6 10 60.0


or 2 conditions

line l !l condition
19 46 4 $dir // 'undef'
61 21 0 $$opts{'suffix'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
20 8 11 31 not $dir or 'Mojo::Path'->new($app->home)->contains("$dir")
75 0 0 0 $img->exists($id) or $img->sync($id)