Condition Coverage

blib/lib/Jemplate/Directive.pm
Criterion Covered Total %
condition 10 27 37.0


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 $from =~ /^-?\d+$/ and $to =~ /^-?\d+$/
88 0 33 12 ref $class and @$ident > 2
33 12 0 ref $class and @$ident > 2 and $ns = $$class{'NAMESPACE'}
96 12 2 31 scalar @$ident <= 2 and not $$ident[1]
114 2 0 8 scalar @$var == 2 and not $$var[1]
596 0 0 1 @_ and ref $_[0]
678 0 0 0 scalar @$name == 2 and not $$name[1]

or 3 conditions

line l !l&&r !l&&!r condition
543 0 0 0 $alias ||= $file
560 0 0 0 $alias ||= $file