Condition Coverage

blib/lib/MarpaX/Repa/Lexer.pm
Criterion Covered Total %
condition 15 28 53.5


and 3 conditions

line !l l&&!r l&&r condition
202 3 2 2 $length == length $$buffer and $buffer_can_grow
232 5 0 0 $check and not &$check($self, $token, $match, $length)
282 3 0 3 $events and $rec->exhausted
294 1 0 1 $buffer_can_grow and $$self{'min_buffer'} > length $$buffer

or 2 conditions

line l !l condition
146 5 0 $$self{'store'} || 'hash'
154 0 5 $$self{'min_buffer'} //= 4096
155 0 5 $$self{'buffer'} //= ''
320 5 3 readline $_[0] // (return 0)
333 0 0 shift() // 20

or 3 conditions

line l !l&&r !l&&!r condition
124 0 5 0 ref $proto || $proto
146 0 5 0 $rest[0] ||= $$self{'store'} || 'hash'