| blib/lib/Parser/MGC.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 29 | 37 | 78.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 459 | 38 | 42 | 3 | $sol > 0 and substr($str, $sol, 1) =~ /^[\r\n]$/u |
| 460 | 74 | 9 | 138 | $sol > 0 and not substr($str, $sol - 1, 1) =~ /^[\r\n]$/u |
| 463 | 69 | 14 | 316 | $eol < length $str and not substr($str, $eol, 1) =~ /^[\r\n]$/u |
| 1288 | 51 | 0 | 1 | $fail_if_empty and $end == $start |
| 1580 | 66 | 2 | 2 | defined $filename && !ref($filename) |
| line | l | !l | condition |
|---|---|---|---|
| 200 | 4 | 44 | $args{'toplevel'} || 'parse' |
| 209 | 0 | 48 | $args{'stallcount'} // 10 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 212 | 3 | 238 | 47 | $args{'patterns'}{$_} || $self->${\("pattern_$_");} |
| 690 | 0 | 5 | 0 | $opts{'toplevel'} // $self->{'toplevel'} |
| 768 | 0 | 1 | 1 | $committed or not _isa_failure($e) |
| 896 | 0 | 16 | 0 | ref $sep or $sep = qr/\Q$sep\E/u |
| 921 | 1 | 0 | 23 | $committed or not _isa_failure($e) |
| 1040 | 2 | 1 | 238 | $committed or not _isa_failure($e) |