Branch Coverage

blib/lib/Template/Overlay.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
40 2 6 ref $overlays eq 'ARRAY' ? :
45 10 0 if (-f $File::Find::name and not $_ =~ /~$/ and not $_ =~ /^\..+\.swp$/)
62 5 3 if ($options{'to'} and $options{'to'} ne $self->{'base'})
68 9 13 if (-d $File::Find::name)
71 13 9 if (-f $File::Find::name)
74 7 6 if ($template) { }
95 5 27 length $path == $base_path_length ? :
103 1 9 if $resolver and &$resolver($template, $file)
105 0 9 if (-f $file)
113 0 9 unless sysopen my $handle, $file, 577, $mode
118 8 1 $self->{'key'} ? :
124 0 9 if $error