Branch Coverage

blib/lib/Mojolicious/Plugin/Images/Service.pm
Criterion Covered Total %
branch 23 44 52.2


line true false branch
17 0 12 unless @_ <= 2
0 12 unless @_ >= 2
18 9 2 $self->ext ? :
26 0 47 unless @_ <= 2
0 47 unless @_ >= 2
28 42 2 $self->ext ? :
33 0 12 unless @_ <= 2
0 12 unless @_ >= 2
37 0 11 unless @_ <= 2
0 11 unless @_ >= 2
38 6 0 unless $self->read_options
45 0 1 unless @_ <= 3
0 1 unless @_ >= 3
55 0 1 if (ref $trans eq 'CODE') { }
0 1 elsif (ref $trans eq 'ARRAY') { }
0 1 elsif ($trans and $trans =~ /^([\w\-:]+)\#([\w]+)$/u) { }
71 0 0 if $self->namespace
83 0 6 unless @_ <= 3
0 6 unless @_ >= 3
88 0 1 unless io()->dir($dir)->exists
89 1 0 unless $self->write_options
1 0 unless $new->write('file', $canonpath, %{{} unless $self->write_options;})