Condition Coverage

blib/lib/Parser/MGC.pm
Criterion Covered Total %
condition 18 20 90.0


and 3 conditions

line !l l&&!r l&&r condition
374 5 8 1 $sol > 0 and substr($str, $sol, 1) =~ /^[\r\n]$/u
375 13 1 47 $sol > 0 and not substr($str, $sol - 1, 1) =~ /^[\r\n]$/u
378 10 4 50 $eol < length $str and not substr($str, $eol, 1) =~ /^[\r\n]$/u
1283 6 1 1 defined $filename && !ref($filename)

or 2 conditions

line l !l condition
176 4 42 $args{'toplevel'} || 'parse'

or 3 conditions

line l !l&&r !l&&!r condition
187 3 228 45 $args{'patterns'}{$_} || $self->${\"pattern_$_";}
669 0 16 0 ref $sep or $sep = qr/\Q$sep\E/u