Branch Coverage

blib/lib/App/MaMGal/Entry/Picture.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
24 0 0 unless my $tools = $self->tools
25 0 0 unless my $formatter = $tools->{'formatter'}
26 0 0 unless ref $formatter and $formatter->isa('App::MaMGal::Formatter')
30 0 0 unless $self->fresher_than_me($name) and not $force
37 0 0 unless my(@miniatures) = @_
43 0 0 $suffix ? :
46 0 0 if $self->fresher_than_me($name)
48 0 0 unless defined $i
49 0 0 if $r = $self->scale_into($i, $x, $y)
51 0 0 if $r = $i->Write($name)
67 0 0 unless ref $img and $img->isa('Image::Magick')
73 0 0 if ($x_ratio <= 1 and $y_ratio <= 1) { }
0 0 elsif ($x_ratio > $y_ratio) { }