Condition Coverage

blib/lib/Pegex/Parser.pm
Criterion Covered Total %
condition 25 56 44.6


and 3 conditions

line !l l&&!r l&&r condition
185 1304 1985 153 not $count and $min == 0
3289 28 125 not $count and $min == 0 and $kind eq 'all'
196 1985 0 1457 $count >= $min && (!$max || $count <= $max)
216 0 0 0 $self->{'recursion_limit'} and $self->{'recursion_count'} >= $self->{'recursion_limit'}
0 0 0 $self->{'recursion_warn_limit'} and not $self->{'recursion_count'} % $self->{'recursion_warn_limit'}
0 0 0 $self->{'iteration_limit'} and $self->{'iteration_count'} > $self->{'iteration_limit'}

or 2 conditions

line l !l condition
29 0 21 $self->{'throw_on_error'} ||= 1
54 0 2 $got ||= 'bright_green'
55 0 2 $not ||= 'bright_red'
321 45 1 $self->{'indent'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 21 not length $self->{'debug_indent'} or $self->{'debug_indent'} =~ tr[0-9][\000-/:-\377]c
0 0 21 not length $self->{'debug_indent'} or $self->{'debug_indent'} =~ tr[0-9][\000-/:-\377]c or $self->{'debug_indent'} < 0
110 2 17 0 $self->{'grammar'}{'tree'} ||= $self->{'grammar'}->make_tree
114 19 0 0 $start || $self->{'grammar'}{'tree'}{'+toprule'} || $self->{'grammar'}{'tree'}{'TOP'} & 'TOP'
145 0 0 19 $self->{'recursion_warn_limit'} || $self->{'recursion_limit'} || $self->{'iteration_limit'}
156 0 0 19 not $match or $self->{'position'} < length ${$self->{'buffer'};}
198 1984 1 1457 not $result or $assertion
288 1 0 700 $elem->{'+asr'} or $elem->{'-skip'}
382 0 0 0 $position ||= $self->{'position'}
391 0 0 0 $position ||= $self->{'position'}