Branch Coverage

blib/lib/Photography/Website.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
84 0 0 if (-f $_) { }
0 0 elsif (-d $_) { }
110 0 0 unless ($$album{'parent'})
114 0 0 if dircopy($static_source, $static_destination)
119 0 0 if ($$item{'type'} eq 'image') { }
0 0 elsif ($$item{'type'} eq 'album') { }
120 0 0 if (update_image($item))
125 0 0 if (generate($item, $album) and not $$item{'unlisted'})
150 0 0 if ($update_needed) { }
176 0 0 unless (-d $$album{'destination'})
183 0 0 unless (exists $$album{'allfiles'}{$dest})
184 0 0 unless (grep {$_ eq $file;} @{$$album{'protected'};})
185 0 0 unless $silent
192 0 0 if ($update_needed)
193 0 0 unless $$album{'unlisted'}
209 0 0 unless $silent
211 0 0 if ($$img{'watermark'}) { }
212 0 0 if system $$img{'watermark_command'}, $$img{'source'}, $$img{'watermark'}, $$img{'destination'}
219 0 0 if system $$img{'scale_command'}, $$img{'source'}, $$img{'destination'}
225 0 0 if system $$img{'thumbnail_command'}, $$img{'source'}, $$img{'thumbnail'}
253 0 0 if ($$_{'type'} eq 'image')
258 0 0 if $$album{'sort'} eq 'ascending'
260 0 0 if $$album{'sort'} eq 'descending'
263 0 0 unless (-f $$album{'thumbnail'})
268 0 0 unless $tt->process($$album{'template'}, $album, $$album{'index'})
284 0 0 if ($size < 3) { }
0 0 elsif ($size < $$album{'preview'}) { }
289 0 0 unless $silent
300 0 0 if system $$album{'preview_command'}, @images, $$album{'thumbnail'}
319 0 0 if ($$album{'parent'}) { }
348 0 0 unless opendir my $dh, $dir
350 0 0 if /^\./
351 0 0 if -f catfile($dir, $_)
352 0 0 if -d catdir($dir, $_)
372 0 0 unless -f $file1 and -f $file2
387 0 0 unless my $file = shift()
389 0 0 unless ($$exif{'DateTimeOriginal'})