blib/lib/Crypt/Random/Source/Base/Handle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
57 | 0 | 12 | unless $n |
68 | 9 | 3 | if (defined $got and $got == $n or $!{'EWOULDBLOCK'} or $!{'EAGAIN'}) { } |
71 | 0 | 3 | unless defined $got |
79 | 1 | 2 | if ($self->allow_under_read) { } |
82 | 2 | 0 | if (($self->reread_attempts || 0) >= ($args{'reread_attempt'} || 0)) { } |
95 | 6 | 3 | if ($self->has_handle and $self->handle) |