blib/lib/MarpaX/Repa/Lexer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 40 | 57.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
207 | 4 | 3 | 3 | $length == length $$buffer and $buffer_can_grow |
237 | 7 | 0 | 0 | $check and not &$check($self, $token, $match, $length) |
282 | 2 | 1 | 0 | $self->{'complete'} and length $$buffer || $buffer_can_grow |
289 | 4 | 0 | 5 | $events and $rec->exhausted |
292 | 3 | 2 | 0 | $self->{'complete'} and length $$buffer || $buffer_can_grow |
305 | 1 | 0 | 1 | $buffer_can_grow and $self->{'min_buffer'} > length $$buffer |
line | l | !l | condition |
---|---|---|---|
151 | 9 | 0 | $self->{'store'} || 'hash' |
159 | 0 | 9 | $self->{'min_buffer'} //= 4096 |
160 | 0 | 9 | $self->{'buffer'} //= '' |
330 | 8 | 5 | readline $_[0] // (return 0) |
343 | 0 | 2 | shift() // 20 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
128 | 0 | 9 | 0 | ref $proto || $proto |
151 | 0 | 9 | 0 | $rest[0] ||= $self->{'store'} || 'hash' |
282 | 1 | 0 | 0 | length $$buffer || $buffer_can_grow |
292 | 1 | 0 | 1 | length $$buffer || $buffer_can_grow |