blib/lib/IO/Framed/Read.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 3 | 66.6 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
68 | 6 | 0 | 4 | $self->can('READ')->($self->{'_in_fh'}, $self->{'_read_buffer'}, $bytes, $buf_len) || do { if ($!) { if (not $!{'EAGAIN'} || $!{'EWOULDBLOCK'}) { die 'IO::Framed::X'->create('ReadError', $!); }; } elsif ($self->{'_ALLOW_EMPTY_READ'}) { return ''; } else { die 'IO::Framed::X'->create('EmptyRead'); } } |