Branch Coverage

blib/lib/Toader/Gallery.pm
Criterion Covered Total %
branch 0 222 0.0


line true false branch
72 0 0 unless (defined $toader)
79 0 0 if (ref $toader ne 'Toader')
90 0 0 if ($toader->error)
101 0 0 if ($$self{'vcs'}->error)
122 0 0 unless ($self->errorblank)
126 0 0 unless (defined $$self{'config'})
134 0 0 unless (unlink $file)
142 0 0 unless ($$self{'VCSusable'})
148 0 0 if ($$self{'vcs'}->error)
155 0 0 if ($underVCS)
161 0 0 if ($$self{'vcs'}->error)
190 0 0 unless ($self->errorblank)
214 0 0 unless ($self->errorblank)
219 0 0 unless (defined $dir)
228 0 0 if ($pathHelper->error)
239 0 0 unless ($returned)
248 0 0 if (defined $$self{'config'})
253 0 0 if (-f $configfile)
255 0 0 unless (defined $$self{'config'})
276 0 0 unless ($self->errorblank)
280 0 0 if (defined $$self{'config'})
289 0 0 if ($self->error)
311 0 0 unless ($self->errorblank)
315 0 0 unless (defined $$self{'config'})
340 0 0 unless ($self->errorblank)
344 0 0 unless (defined $$self{'config'})
346 0 0 if ($self->error)
352 0 0 unless (defined $outputPath)
360 0 0 if ($self->error)
382 0 0 unless ($self->errorblank)
386 0 0 unless (defined $$self{'config'})
411 0 0 unless ($self->errorblank)
415 0 0 unless (defined $$self{'config'})
417 0 0 if ($self->error)
423 0 0 unless (defined $outputURL)
433 0 0 if ($self->error)
455 0 0 unless ($self->errorblank)
459 0 0 unless (defined $$self{'config'})
486 0 0 unless ($self->errorblank)
490 0 0 unless (defined $$self{'config'})
492 0 0 if ($self->error)
498 0 0 unless (defined $srcPath)
506 0 0 if ($self->error)
528 0 0 unless ($self->errorblank)
532 0 0 unless (defined $$self{'config'})
557 0 0 unless ($self->errorblank)
561 0 0 unless (defined $$self{'config'})
563 0 0 if ($self->error)
569 0 0 unless (defined $srcURL)
579 0 0 if ($self->error)
603 0 0 unless ($self->errorblank)
607 0 0 unless (defined $$self{'config'})
614 0 0 unless (defined $$self{'config'}{'_'}{'renderUpdateDetails'})
639 0 0 unless ($self->errorblank)
643 0 0 unless (defined $update)
647 0 0 if ($update)
651 0 0 unless (defined $$self{'config'})
679 0 0 unless ($self->errorblank)
683 0 0 unless (defined $$self{'config'})
690 0 0 unless (defined $$self{'config'}{'_'}{'renderUpdateIndexes'})
715 0 0 unless ($self->errorblank)
719 0 0 unless (defined $update)
723 0 0 if ($update)
727 0 0 unless (defined $$self{'config'})
755 0 0 unless ($self->errorblank)
759 0 0 unless (defined $$self{'config'})
766 0 0 unless (defined $$self{'config'}{'_'}{'renderUpdateScaled'})
791 0 0 unless ($self->errorblank)
795 0 0 unless (defined $update)
799 0 0 if ($update)
803 0 0 unless (defined $$self{'config'})
829 0 0 unless ($self->errorblank)
833 0 0 unless (defined $$self{'config'})
840 0 0 unless (defined $$self{'config'}{'_'}{'smallResolution'})
844 0 0 unless ($$self{'config'}{'_'}{'smallResolution'} =~ /^[0123456789]*$/)
872 0 0 unless ($self->errorblank)
876 0 0 unless (defined $$self{'config'})
878 0 0 if ($self->error)
884 0 0 unless (defined $res)
888 0 0 unless ($$self{'config'}{'_'}{'smallResolution'} =~ /^[0123456789]*$/)
898 0 0 if ($self->error)
920 0 0 unless ($self->errorblank)
924 0 0 unless (defined $$self{'config'})
931 0 0 unless (defined $$self{'config'}{'_'}{'smallResolution'})
935 0 0 unless ($$self{'config'}{'_'}{'smallResolution'} =~ /^[0123456789]*$/)
963 0 0 unless ($self->errorblank)
967 0 0 unless (defined $$self{'config'})
969 0 0 if ($self->error)
975 0 0 unless (defined $res)
979 0 0 unless ($$self{'config'}{'_'}{'smallResolution'} =~ /^[0123456789]*$/)
989 0 0 if ($self->error)
1013 0 0 unless ($self->errorblank)
1017 0 0 unless (defined $$self{'config'})
1021 0 0 unless (defined $$self{'outputPath'})
1025 0 0 unless (defined $$self{'outputURL'})
1029 0 0 unless (defined $$self{'srcPath'})
1033 0 0 unless (defined $$self{'srcURL'})
1037 0 0 if (defined $$self{'smallResolution'})
1038 0 0 unless ($$self{'smallResolution'} =~ /^[0123456789]*/)
1043 0 0 if (defined $$self{'largeResolution'})
1044 0 0 unless ($$self{'largeResolution'} =~ /^[0123456789]*/)
1062 0 0 unless ($self->errorblank)
1066 0 0 unless (defined $$self{'config'})
1074 0 0 unless ($$self{'config'}->write($file))
1082 0 0 unless ($$self{'VCSusable'})
1088 0 0 if ($$self{'vcs'}->error)
1095 0 0 if ($underVCS)
1101 0 0 if ($$self{'vcs'}->error)
1136 0 0 unless ($self->errorblank)
1154 0 0 unless ($self->errorblank)
1215 0 0 unless ($self->errorblank)