Branch Coverage

blib/lib/App/StaticImageGallery/Image.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
15 0 0 if (defined $args{'original'}) { }
28 0 0 if defined $$self{'_Imager'}
33 0 0 unless ($$self{'_Imager'})
43 0 0 if defined $$self{'_metadata'}
55 0 0 if defined $$self{'_thumbnail'}
66 0 0 unless $self->must_create($$self{'_thumbnail'})
70 0 0 unless ($thumb->write('file', $self->data_dir . '/' . $$self{'_thumbnail'}, 'type', 'jpeg'))
90 0 0 unless $self->must_create($filename)
94 0 0 unless ($image->write('file', $self->data_dir . '/' . $filename))
109 0 0 if ($mtime_new > $mtime_original)