Condition Coverage

inc/Pegex/Parser.pm
Criterion Covered Total %
condition 18 31 58.0


and 3 conditions

line !l l&&!r l&&r condition
113 480 617 42 not $count and $min == 0
1097 41 1 not $count and $min == 0 and $kind eq 'all'
126 617 522 0 $count >= $min && (!$max || $count <= $max)

or 2 conditions

line l !l condition
18 0 4 $$self{'throw_on_error'} ||= 1
221 0 0 $$self{'indent'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
49 8 0 0 $$self{'grammar'}{'tree'} ||= $$self{'grammar'}->make_tree
51 8 0 0 $start || $$self{'grammar'}{'tree'}{'+toprule'} || $$self{'grammar'}{'tree'}{'TOP'} & 'TOP'
84 0 0 8 not $match or $$self{'position'} < length ${$$self{'buffer'};}
128 600 17 522 not $result or $assertion
188 17 6 209 $$elem{'+asr'} or $$elem{'-skip'}
273 0 0 0 $position ||= $$self{'position'}