Condition Coverage

blib/lib/IO/Framed/Read.pm
Criterion Covered Total %
condition 4 6 66.6


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 5 defined $seq and length $seq

or 3 conditions

line l !l&&r !l&&!r condition
84 8 2 4 $_[0]->can('READ')->($_[0]{'_in_fh'}, $_[0]{'_read_buffer'}, $_[1], length $_[0]{'_read_buffer'}) || do { if ($!) { if (not $!{'EAGAIN'} || $!{'EWOULDBLOCK'}) { die 'IO::Framed::X'->create('ReadError', $!); } ; } elsif ($_[0]{'_ALLOW_EMPTY_READ'}) { $_[0]{'_return'} = 1; 0; } else { die 'IO::Framed::X'->create('EmptyRead'); } }