Condition Coverage

blib/lib/Text/FastTemplate.pm
Criterion Covered Total %
condition 34 63 53.9


and 3 conditions

line !l l&&!r l&&r condition
159 0 14 14 $a{'KEY'} and $Text::FastTemplate::OBJECT_CACHE{$a{'GROUP'}}{$a{'KEY'}}
178 0 0 0 $a{'GROUP'} ne $Text::FastTemplate::DEFAULT_GROUP && " GROUP=$a{'GROUP'},"
191 14 0 0 $a{'PATH'} and not ref $a{'PATH'}
587 1 0 0 $macro and not grep({$_ eq $macro;} @$macroes)
701 8 16 0 not ref $a and !$i || ref $y
791 2 0 12 -e $F and -r $F
799 1 2 13 $x and $filename

or 3 conditions

line l !l&&r !l&&!r condition
88 1 1 0 $$h{'GROUP'} ||= $Text::FastTemplate::DEFAULT_GROUP
96 4 0 14 $a[$i] || $Text::FastTemplate::DEFAULTS{$Text::FastTemplate::DEFAULT_GROUP}[$i]
153 3 25 0 $a{'GROUP'} ||= $Text::FastTemplate::DEFAULT_GROUP
204 42 14 70 $a[$i] || $$defaults[$i]
279 0 0 0 (map {$a{$_} if lc $_ eq 'group';} CORE::keys %a)[0] || $Text::FastTemplate::DEFAULT_GROUP
293 0 0 0 (map {$a{$_} if lc $_ eq 'group';} CORE::keys %a)[0] || $Text::FastTemplate::DEFAULT_GROUP
518 10 0 15 $1 || $5 || $7 || $9
2 0 25 $2 || $3 || $4 || $6 || $8
550 0 0 3 grep {$_ eq $macro;} @$macroes or $macro =~ /^\w+_LOOP_ID$/
570 1 0 1 grep {$_ eq $macro;} @$macroes or $macro =~ /^\w+_LOOP_ID$/
609 1 0 6 grep {$_ eq $macro;} @$macroes or $macro =~ /^\w+_LOOP_ID$/
701 16 0 0 !$i || ref $y
755 1 15 0 ref $z || $i == $#$code
791 2 0 14 $Text::FastTemplate::FILE_CACHE{$F} or -e $F and -r $F