Branch Coverage

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


line true false branch
84 0 0 if (-f $_) { }
0 0 elsif (-d $_) { }
86 0 0 if $verbose
111 0 0 unless ($$album{'parent'})
115 0 0 unless $silent
120 0 0 if ($$item{'type'} eq 'image') { }
0 0 elsif ($$item{'type'} eq 'album') { }
121 0 0 if (update_image($item))
126 0 0 if (generate($item, $album) and not $$item{'unlisted'})
151 0 0 if ($update_needed) { }
156 0 0 if $verbose
178 0 0 unless (-d $$album{'destination'})
185 0 0 unless (exists $$album{'allfiles'}{$dest})
186 0 0 unless (grep {$_ eq $file;} @{$$album{'protected'};})
187 0 0 unless $silent
194 0 0 if ($update_needed) { }
195 0 0 unless $$album{'unlisted'}
199 0 0 if $verbose
214 0 0 unless $silent
216 0 0 if ($$img{'watermark'}) { }
217 0 0 if system $$img{'watermark_command'}, $$img{'source'}, $$img{'watermark'}, $$img{'destination'}
224 0 0 if system $$img{'scale_command'}, $$img{'source'}, $$img{'destination'}
230 0 0 if system $$img{'thumbnail_command'}, $$img{'source'}, $$img{'thumbnail'}
258 0 0 if ($$_{'type'} eq 'image')
263 0 0 if $$album{'sort'} eq 'ascending'
265 0 0 if $$album{'sort'} eq 'descending'
268 0 0 unless (-f $$album{'thumbnail'})
272 0 0 unless $silent
273 0 0 unless $tt->process($$album{'template'}, $album, $$album{'index'})
289 0 0 if ($size < 3) { }
0 0 elsif ($size < $$album{'preview'}) { }
294 0 0 unless $silent
304 0 0 if $verbose
306 0 0 if system $$album{'preview_command'}, @images, $$album{'thumbnail'}
325 0 0 if ($$album{'parent'}) { }
354 0 0 unless opendir my $dh, $dir
356 0 0 if /^\./
357 0 0 if -f catfile($dir, $_)
358 0 0 if -d catdir($dir, $_)
378 0 0 unless -f $file1 and -f $file2
393 0 0 unless my $file = shift()
395 0 0 unless ($$exif{'DateTimeOriginal'})