Branch Coverage

blib/lib/Template/Plex/Internal.pm
Criterion Covered Total %
branch 33 114 28.9


line true false branch
27 0 24 unless ref $href eq "HASH" or not defined $href
57 24 0 if keys %opts
66 24 0 unless $opts{'no_alias'}
225 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 ($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 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 ($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 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) { }
229 2 22 if ($e)
247 0 0 if ($input =~ /^"(.*)"$/) { }
0 0 elsif ($input =~ /^'(.*)'$/) { }
286 8 16 unless ($buffer =~ /$Init/msx)
313 0 24 unless defined $path
317 1 24 if (ref $path eq 'GLOB') { }
16 8 elsif (ref $path eq 'ARRAY') { }
2 6 elsif (ref $path eq 'SCALAR') { }
336 2 0 if (open $fh, '<', $rpath) { }
351 6 1 unless (file_name_is_absolute($path))
353 6 0 if $root
358 6 1 if (open $fh, '<', $path) { }
370 24 0 unless $options{'no_eof_chomp'}
373 24 0 unless $options{'no_include'}
376 24 0 unless $options{'no_block_fix'}
381 24 1 if ($options{'file'} =~ /\.plex|\.plx|^ARRAY/) { }
384 24 0 unless $options{'no_init_fix'}
393 0 25 if $options{'use_comments'}
395 25 0 if ($args) { }