Branch Coverage

lib/IOMux/Handler/Read.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
32 0 0 @_ ? :
39 4 4 if ($self->{'IMHR_inbuf'} =~ s/^([^\r\n]*)(?:\r?\n)//)
42 0 4 if ($self->{'IMHR_eof'})
51 2 2 if ($eof)
57 0 2 unless ${$_[0];} =~ s/^([^\r\n]*)\r?\n//
68 0 4 if ($self->{'IMHR_eof'})
69 0 0 unless my $in = $self->{'IMHR_inbuf'}
77 4 4 unless $eof
100 6 6 if ($bytes_read) { }
6 0 elsif (defined $bytes_read) { }
0 0 elsif ($! == 4 or $! == 11 or $! == 11) { }
121 6 0 if $self->{'IMHR_read_more'}
129 6 0 if $self->{'IMHR_read_more'}