Branch Coverage

blib/lib/Mojolicious/Plugin/Images.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
13 0 23 unless @_ <= 1
0 23 unless @_ >= 1
15 9 14 $from ? :
22 0 12 unless @_ <= 3
0 12 unless @_ >= 3
23 1 2 unless $app->config('plugin_images')
3 9 unless keys %$options
24 1 11 unless keys %$options
32 17 6 unless $app->isa('Mojolicious::Lite')
47 21 2 if (defined $opts{'url_prefix'})