blib/lib/Mojo/IOLoop/Stream/Role/LineBuffer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 3 | if $self->{'_read_line_read_cb'} |
26 | 4 | 3 | if $pos |
31 | 3 | 0 | if (length(my $buffer = delete $self->{'_read_line_buffer'} // '')) |
40 | 1 | 1 | $pos ? : |
2 | 1 | if $pos < length $buffer |