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
102 99 27 46 $type ne 'text' and defined $last_text
105 17 0 29 $j == 0 && @lines >= 2
115 145 5 22 $last_was_code and $type ne 'code'
139 42 0 1 $newline and $value =~ /\n/
287 0 0 0 0 < $_ && $_ <= @lines
417 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
84 53 1 $$self{'escape_func'} || ''

or 3 conditions

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