Branch Coverage

blib/lib/Toader/Render/AutoDoc.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
61 0 0 if (defined $_[1])
92 0 0 if (defined $args{'toDir'})
97 0 0 unless (defined $args{'obj'})
104 0 0 if (ref $args{'obj'} ne 'Toader::AutoDoc')
115 0 0 unless ($self->{'obj'}->errorblank)
124 0 0 unless (defined $args{'toader'})
131 0 0 if (ref $args{'toader'} ne 'Toader')
142 0 0 unless ($self->{'toader'}->errorblank)
151 0 0 unless (defined $self->{'obj'}->dirGet)
175 0 0 if ($self->{'g'}->error)
181 0 0 if ($self->{'ph'}->error)
192 0 0 if ($self->{'ph'}->error)
215 0 0 unless ($self->errorblank)
227 0 0 if ($self->{'t'}->error)
249 0 0 unless ($self->errorblank)
257 0 0 unless (defined $output)
265 0 0 unless (-d $output)
274 0 0 if ($cleanup->error)
282 0 0 if ($cleanup->error)
292 0 0 if ($self->error)
306 0 0 if ($self->{'t'}->error)
320 0 0 unless (-d $autodocDir)
321 0 0 unless (make_path($autodocDir))
328 0 0 unless (-d $filesDir)
329 0 0 unless (make_path($filesDir))
339 0 0 unless (open $fh, '>', $index)
350 0 0 if ($self->{'obj'}->error)
369 0 0 if ($copyTo =~ /\.[Pp][Oo][Dd]$/)
372 0 0 if ($copyTo =~ /\.[Pp][Mm]$/)
375 0 0 if ($checker->isAperlScript($copyFrom))
384 0 0 unless (-d $outputdir)
385 0 0 unless (make_path($outputdir))
393 0 0 if ($ispod) { }
406 0 0 unless (open $fh, '>', $copyTo)
418 0 0 unless (copy($copyFrom, $copyTo))