Branch Coverage

blib/lib/Lemplate/Directive.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
23 0 0 unless $block =~ /\S/
44 0 0 unless my($from, $to) = $val =~ /\s*\[\s*(\S+)\s*\.\.\s*(\S+)\s*\]/
47 0 0 unless $from =~ /^-?\d+$/ and $to =~ /^-?\d+$/
58 0 0 if $INJAVASCRIPT
82 0 0 unless @$ident
87 0 0 if (ref $class and @$ident > 2 and $ns = $class->{'NAMESPACE'})
90 0 0 if ($ns = $ns->{$key})
95 0 0 if (scalar @$ident <= 2 and not $ident->[1]) { }
112 0 0 if (ref $var)
113 0 0 if (scalar @$var == 2 and not $var->[1]) { }
121 0 0 if $default
133 0 0 if @$hash
136 0 0 unless @$args
147 0 0 if (@$names > 1) { }
171 0 0 unless $block
228 0 0 @$hash ? :
245 0 0 @$hash ? :
260 0 0 $else ? :
269 0 0 if (defined $else) { }
287 0 0 @$args ? :
290 0 0 if ($target) { }
365 0 0 if @$file > 1
369 0 0 @$hash ? :
386 0 0 @$hash ? :
477 0 0 if (defined $default)
562 0 0 if $args
595 0 0 $args ? :
0 0 if $alias
597 0 0 if $args
616 0 0 if (@_ and ref $_[0])
629 0 0 if ($args) { }
697 0 0 if (ref $name)
698 0 0 if (scalar @$name == 2 and not $name->[1]) { }
726 0 0 if (*$glob{'CODE'})