Condition Coverage

blib/lib/Text/Macro.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
109 79 33 82 defined $str and substr($str, -1, 1) eq q[']
209 0 0 0 $line_idx <= $#lines and not +($line = ($line_block = $lines[$line_idx])->[0]) =~ /^\s*\#endpre/
221 0 10 32 $line_idx <= $#lines and not +($line = ($line_block = $lines[$line_idx])->[0]) =~ /^\s*\#endsub/

or 3 conditions

line l !l&&r !l&&!r condition
177 1 4 0 $$this{'stack'}[-1] eq 's' or $$this{'stack'}[-1] eq 'd'
294 7 8 0 $_ eq 'i' or $_ eq 'e'