Branch Coverage

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


line true false branch
23 0 21 unless ref $href eq "HASH" or not defined $href
53 21 0 if keys %opts
62 21 0 unless $opts{'no_alias'}
212 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') { }
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 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 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 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 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 (@args == 1) { }
213 2 19 if ($@ and not $ref)
239 0 0 if ($input =~ /^"(.*)"$/) { }
0 0 elsif ($input =~ /^'(.*)'$/) { }
278 6 15 unless ($buffer =~ /$Init/msx)
305 0 21 unless defined $path
309 0 21 if (ref $path eq 'GLOB') { }
14 7 elsif (ref $path eq 'ARRAY') { }
324 7 0 if $root
326 7 0 if (open $fh, '<', $path) { }
338 21 0 unless $options{'no_eof_chomp'}
341 21 0 unless $options{'no_include'}
344 21 0 unless $options{'no_block_fix'}
345 21 0 unless $options{'no_init_fix'}
346 0 21 if $options{'use_comments'}
348 21 0 if ($args) { }