Branch Coverage

web/cgi-bin/yatt.lib/YATT/Util/DirTreeBuilder.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
17 2 1 unless (-d $tmpdir)
18 0 2 unless mkdir $tmpdir
26 3 0 if $self->{'cf_AUTO_REMOVE'}
32 20 0 unless (-d $basedir)
33 0 20 unless mkdir $basedir
37 0 181 if (wantarray) { }
50 0 413 unless ref $action eq 'ARRAY'
51 0 413 unless my $sub = $self->can('build_' . $action->[0])
60 44 186 unless (-d $dir)
61 0 44 unless mkdir $dir
69 0 183 unless open(my $out, '>', $fn), "file $fn"
80 198 159 if (@$desc > 2) { }