blib/lib/Parser/MGC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 28 | 78.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
457 | 24 | 26 | 1 | $sol > 0 and substr($str, $sol, 1) =~ /^[\r\n]$/u |
458 | 48 | 3 | 90 | $sol > 0 and not substr($str, $sol - 1, 1) =~ /^[\r\n]$/u |
461 | 43 | 8 | 198 | $eol < length $str and not substr($str, $eol, 1) =~ /^[\r\n]$/u |
1244 | 51 | 0 | 1 | $fail_if_empty and $end == $start |
1531 | 40 | 2 | 2 | defined $filename && !ref($filename) |
line | l | !l | condition |
---|---|---|---|
198 | 4 | 44 | $args{'toplevel'} || 'parse' |
207 | 0 | 48 | $args{'stallcount'} // 10 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
210 | 3 | 238 | 47 | $args{'patterns'}{$_} || $self->${\"pattern_$_";} |
655 | 0 | 5 | 0 | $opts{'toplevel'} // $self->{'toplevel'} |
856 | 0 | 16 | 0 | ref $sep or $sep = qr/\Q$sep\E/u |