Condition Coverage

blib/lib/MarpaX/Demo/StringParser.pm
Criterion Covered Total %
condition 7 15 46.6


and 3 conditions

line !l l&&!r l&&r condition
425 2 9 18 $pos < length($string) - 1 and substr($string, $pos, 1) =~ /[\s;]/
564 0 1 0 $label =~ /^$/
631 0 0 0 $previous_char ne '\\' and $char eq $terminator
656 0 0 0 $label =~ /^['"]/ and not $label =~ /^(['"]).*\1$/
709 1 90 8 $previous_char ne '\\' and $char =~ /$re/