Branch Coverage

lib/Template/Plugin/Directory.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
39 28 8 ref $_[-1] eq 'HASH' ? :
42 1 35 unless defined $path and length $path
53 15 19 if $config->{'nostat'} or $config->{'noscan'}
56 0 19 unless $self->{'isdir'}
78 11 12 unless $config->{'recurse'}
81 0 23 unless opendir DH, $dir
84 0 23 unless closedir DH
91 46 79 if $name =~ /^\./
95 22 57 if (-d $abs) { }
143 0 3 unless $view