Branch Coverage

blib/lib/Template/Plex/Internal.pm
Criterion Covered Total %
branch 21 44 47.7


line true false branch
35 0 21 unless ref $href eq "HASH" or not defined $href
65 21 0 if keys %opts
74 21 0 unless $opts{'no_alias'}
177 0 0 if ($template)
0 0 if ($template)
0 0 if ($template)
1 0 if ($template)
178 2 19 if ($@ and not $ref)
237 0 0 if ($input =~ /^"(.*)"$/) { }
0 0 elsif ($input =~ /^'(.*)'$/) { }
284 6 15 unless ($buffer =~ /$Init/msx)
313 0 21 unless defined $path
318 1 21 if (ref $path eq 'GLOB') { }
15 7 elsif (ref $path eq 'ARRAY') { }
332 7 0 if $root
334 7 0 if (open $fh, '<', $path) { }
346 21 0 unless $options{'no_eof_chomp'}
349 21 0 unless $options{'no_include'}
352 21 0 unless $options{'no_block_fix'}
353 21 0 unless $options{'no_init_fix'}
354 0 21 if $options{'use_comments'}
355 21 0 if ($args) { }