| inc/Pegex/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 31 | 61.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 113 | 5213 | 15410 | 91 | not $count and $min == 0 |
| 20623 | 87 | 4 | not $count and $min == 0 and $kind eq 'all' | |
| 126 | 15410 | 5304 | 0 | $count >= $min && (!$max || $count <= $max) |
| line | l | !l | condition |
|---|---|---|---|
| 18 | 0 | 274 | $$self{'throw_on_error'} ||= 1 |
| 221 | 0 | 0 | $$self{'indent'} ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 49 | 2 | 273 | 0 | $$self{'grammar'}{'tree'} ||= $$self{'grammar'}->make_tree |
| 51 | 275 | 0 | 0 | $start || $$self{'grammar'}{'tree'}{'+toprule'} || $$self{'grammar'}{'tree'}{'TOP'} & 'TOP' |
| 84 | 0 | 0 | 275 | not $match or $$self{'position'} < length ${$$self{'buffer'};} |
| 128 | 15386 | 53 | 5275 | not $result or $assertion |
| 188 | 53 | 54 | 1468 | $$elem{'+asr'} or $$elem{'-skip'} |
| 273 | 0 | 0 | 0 | $position ||= $$self{'position'} |