Condition Coverage

lib/Template/Directive.pm
Criterion Covered Total %
condition 24 32 75.0


and 3 conditions

line !l l&&!r l&&r condition
210 1754 1275 46 @$ident > 2 and $ns = $self->{'NAMESPACE'}
219 1292 87 1667 scalar @$ident <= 2 and not $ident->[1]
235 2 1 3 scalar @$ident <= 2 and not $ident->[1]
253 66 0 442 scalar @$var == 2 and not $var->[1]
935 0 0 11 scalar @$name == 2 and not $name->[1]

or 2 conditions

line l !l condition
203 0 13 $root->{$v} ||= {}
429 116 35 $label ||= 'LOOP'
485 10 0 $label ||= 'LOOP'
560 14 2 $label ||= 'LOOP'

or 3 conditions

line l !l&&r !l&&!r condition
648 67 0 108 $catch->[0] || do { $default ||= $catch->[1]; next }
710 4 0 28 @$hash or @$args
778 68 141 0 $alias ||= $file