blib/lib/Parser/MGC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 23 | 86.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
398 | 23 | 25 | 1 | $sol > 0 and substr($str, $sol, 1) =~ /^[\r\n]$/u |
399 | 46 | 3 | 89 | $sol > 0 and not substr($str, $sol - 1, 1) =~ /^[\r\n]$/u |
402 | 41 | 8 | 191 | $eol < length $str and not substr($str, $eol, 1) =~ /^[\r\n]$/u |
1119 | 40 | 0 | 1 | $fail_if_empty and $end == $start |
1406 | 39 | 2 | 2 | defined $filename && !ref($filename) |
line | l | !l | condition |
---|---|---|---|
175 | 4 | 42 | $args{'toplevel'} || 'parse' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
186 | 3 | 228 | 45 | $args{'patterns'}{$_} || $self->${\"pattern_$_";} |
739 | 0 | 16 | 0 | ref $sep or $sep = qr/\Q$sep\E/u |