Branch Coverage

blib/lib/Toader/Render/Entry/Cleanup.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
63 0 0 unless (defined $toader)
72 0 0 if (ref $toader ne 'Toader')
83 0 0 if ($toader->error)
96 0 0 unless (defined $outputdir)
105 0 0 unless (-d $outputdir)
138 0 0 unless ($self->errorblank)
143 0 0 unless (defined $obj)
151 0 0 if (ref $obj ne 'Toader::Entry')
160 0 0 if ($obj->error)
170 0 0 unless (defined $dir)
179 0 0 if ($$self{'pathhelper'}->error)
190 0 0 unless (-e $dir)
200 0 0 if (-f $index) { }
201 0 0 unless (unlink $index)
205 0 0 if (-e $index)
216 0 0 if (not opendir($dh, $filesdir)) { }
234 0 0 if ($files[$int] ne '.' or $files[$int] ne '..')
242 0 0 unless ($skip or -f $path)
250 0 0 unless ($skip)
251 0 0 unless (unlink $path)
261 0 0 unless (defined $nonfiles[0] and defined $failed[0])
265 0 0 unless (rmdir $filesdir)
273 0 0 unless (-e $filesdir)
274 0 0 if (not opendir($dh, $dir)) { }
281 0 0 if (opendir $dh, $filesdir)
290 0 0 if ($files[$int] ne '.' and $files[$int] ne '..' and not -f $dir . '/' . $files[$int])
304 0 0 if ($rmObjDir)
305 0 0 if (-e $dir)
306 0 0 unless (rmdir $dir)
315 0 0 if (defined $nonfiles[0] or $openFilesdirFailed or $indexNotAfile or $fileDirRMfailed or $objDirRMfailed or defined $failed[0])
326 0 0 if ($indexNotAfile)
330 0 0 if ($openFilesdirFailed)
334 0 0 if ($fileDirRMfailed)
338 0 0 if ($objDirRMfailed)
344 0 0 if (defined $nonfiles[0])
353 0 0 if (defined $failed[0])