Branch Coverage

lib/Template/Document.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
36 86 0 $] > 5.007 ? :
86 0 if ($UNICODE = $] > 5.007 ? 1 : 0)
37 86 0 if ($] > 5.008) { }
0 0 elsif ($] == 5.008) { }
70 1276 18 unless (ref $block)
79 0 1276 unless defined $block
84 6 131 ref $_ ? :
156 1 1346 if $$self{'_HOT'} and not $$context{'RECURSION'}
169 18 1328 if $@
188 0 36 if $method eq 'DESTROY'
214 0 0 if ($dblks = $$self{'_DEFBLOCKS'})
297 0 14 unless $file =~ /^(.+)$/s
308 5 9 if ($UNICODE and is_utf8($perlcode))
315 0 14 if $@