Branch Coverage

blib/lib/Toader/Page/Manage.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
80 0 0 unless (defined $toader)
87 0 0 if (ref $toader ne 'Toader')
98 0 0 if ($$self{'helper'}->error)
109 0 0 if ($$self{'toader'}->error)
120 0 0 if ($$self{'vcs'}->error)
147 0 0 unless ($self->errorblank)
152 0 0 unless (defined $$self{'dir'})
163 0 0 unless (-d $$self{'pdir'})
169 0 0 unless (opendir $dh, $$self{'pdir'})
181 0 0 if ($$self{'helper'}->validPageName($pages[$int]))
200 0 0 unless ($self->errorblank)
205 0 0 unless (defined $bool)
210 0 0 if ($bool) { }
217 0 0 if ($self->error)
228 0 0 if ($self->error) { }
232 0 0 if ($ispublished eq $bool)
263 0 0 unless ($self->errorblank)
268 0 0 unless (defined $page)
276 0 0 unless (defined $$self{'dir'})
285 0 0 unless ($returned)
286 0 0 if ($$self{'helper'}->error) { }
303 0 0 unless (open $fh, '<', $file)
313 0 0 if ($pageObj->error)
344 0 0 unless ($self->errorblank)
349 0 0 if (defined $page)
357 0 0 unless (defined $$self{'dir'})
366 0 0 unless ($returned)
367 0 0 if ($$self{'helper'}->error) { }
381 0 0 unless (unlink $file)
389 0 0 unless ($$self{'VCSusable'})
395 0 0 if ($$self{'vcs'}->error)
402 0 0 if ($underVCS)
408 0 0 if ($$self{'vcs'}->error)
438 0 0 unless ($self->errorblank)
443 0 0 unless (defined $directory)
456 0 0 unless ($returned)
457 0 0 if ($$self{'isatd'}->error)