Branch Coverage

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


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