Condition Coverage

blib/lib/Text/MicroTemplate.pm
Criterion Covered Total %
condition 18 28 64.2


and 3 conditions

line !l l&&!r l&&r condition
103 99 27 46 $type ne 'text' and defined $last_text
106 17 0 29 $j == 0 && @lines >= 2
116 145 5 22 $last_was_code and $type ne 'code'
140 42 0 1 $newline and $value =~ /\n/
288 0 0 0 0 < $_ && $_ <= @lines
418 1 0 1 $retval =~ /^\d+$/ and $_ ne $$mtref
0 1 0 defined $retval and not $retval

or 2 conditions

line l !l condition
10 0 15 $ENV{'MICRO_TEMPLATE_DEBUG'} || 0
85 53 1 $$self{'escape_func'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
418 1 0 1 $retval =~ /^\d+$/ and $_ ne $$mtref or defined $retval and not $retval