Branch Coverage

blib/lib/Template/Semantic.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
40 12 1 ref $self ? :
42 0 13 unless $filter
46 156 12 ref $_[0] ? :
50 166 2 if (ref $template eq 'SCALAR') { }
1 1 elsif (ref $template eq 'GLOB' or &blessed($template) and $template->isa('GLOB')) { }
56 0 1 unless open my $fh, '<', $template