Branch Coverage

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


line true false branch
15 0 0 unless $block =~ /\S/
39 0 0 unless my($from, $to) = $val =~ /\s*\[\s*(\S+)\s*\.\.\s*(\S+)\s*\]/
42 0 0 unless $from =~ /^-?\d+$/ and $to =~ /^-?\d+$/
53 0 0 if $INJAVASCRIPT
77 0 0 unless @$ident
82 0 0 if (ref $class and @$ident > 2 and $ns = $$class{'NAMESPACE'})
85 0 0 if ($ns = $$ns{$key})
90 0 0 if (scalar @$ident <= 2 and not $$ident[1]) { }
107 0 0 if (ref $var)
108 0 0 if (scalar @$var == 2 and not $$var[1]) { }
116 0 0 if $default
128 0 0 if @$hash
131 0 0 unless @$args
142 0 0 if (@$names > 1) { }
164 0 0 unless $block
220 0 0 @$hash ? :
235 0 0 @$hash ? :
250 0 0 $else ? :
259 0 0 if (defined $else)
275 0 0 @$args ? :
278 0 0 if ($target) { }
349 0 0 if @$file > 1
353 0 0 @$hash ? :
370 0 0 @$hash ? :
454 0 0 if (defined $default)
539 0 0 if $args
572 0 0 $args ? :
0 0 if $alias
574 0 0 if $args
590 0 0 if (@_ and ref $_[0])
603 0 0 if ($args) { }
671 0 0 if (ref $name)
672 0 0 if (scalar @$name == 2 and not $$name[1]) { }
700 0 0 if (*$glob{'CODE'})