| blib/lib/Mojolicious/Plugin/Images/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 10 | 60.0 |
| line | l | !l | condition |
|---|---|---|---|
| 19 | 44 | 4 | $dir // 'undef' |
| 61 | 19 | 0 | $$opts{'suffix'} // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 20 | 8 | 11 | 29 | not $dir or 'Mojo::Path'->new($app->home)->contains("$dir") |
| 75 | 0 | 0 | 0 | $img->exists($id) or $img->sync($id) |