Condition Coverage

lib/Template/Directive.pm
Criterion Covered Total %
condition 23 32 71.8


and 3 conditions

line !l l&&!r l&&r condition
210 1721 1261 44 @$ident > 2 and $ns = $$self{'NAMESPACE'}
219 1276 86 1635 scalar @$ident <= 2 and not $$ident[1]
235 2 1 3 scalar @$ident <= 2 and not $$ident[1]
253 65 0 431 scalar @$var == 2 and not $$var[1]
935 0 0 10 scalar @$name == 2 and not $$name[1]

or 2 conditions

line l !l condition
203 0 0 $$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 64 0 108 $$catch[0] || do { $default ||= $$catch[1]; next }
710 4 0 28 @$hash or @$args
778 68 140 0 $alias ||= $file