Branch Coverage

blib/lib/Template/Plex/Internal.pm
Criterion Covered Total %
branch 30 126 23.8


line true false branch
33 0 21 unless ref $href eq "HASH" or not defined $href
63 21 0 if keys %opts
72 21 0 unless $opts{'no_alias'}
222 0 1 if (@args == 1) { }
0 1 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if ($template)
0 1 if (@args == 1) { }
0 1 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
1 0 if ($template)
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if ($template)
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if ($template)
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 1 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 1 if (@args == 1) { }
1 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 1 if (@args == 1) { }
0 1 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
1 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
0 0 elsif (defined $args[1] and ref $args[1] eq 'HASH') { }
0 0 if (@args == 1) { }
223 2 19 if ($@ and not $ref)
249 0 0 if ($input =~ /^"(.*)"$/) { }
0 0 elsif ($input =~ /^'(.*)'$/) { }
288 6 15 unless ($buffer =~ /$Init/msx)
316 0 21 unless defined $path
321 0 21 if (ref $path eq 'GLOB') { }
14 7 elsif (ref $path eq 'ARRAY') { }
335 7 0 if $root
337 7 0 if (open $fh, '<', $path) { }
349 21 0 unless $options{'no_eof_chomp'}
352 21 0 unless $options{'no_include'}
355 21 0 unless $options{'no_block_fix'}
356 21 0 unless $options{'no_init_fix'}
357 0 21 if $options{'use_comments'}
359 21 0 if ($args) { }