Branch Coverage

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


line true false branch
36 0 0 @_ ? :
43 4 4 if ($self->{'IMHR_inbuf'} =~ s/^([^\r\n]*)(?:\r?\n)//)
46 0 4 if ($self->{'IMHR_eof'})
55 2 2 if ($eof)
61 0 2 unless ${$_[0];} =~ s/^([^\r\n]*)\r?\n//
72 0 4 if ($self->{'IMHR_eof'})
73 0 0 unless my $in = $self->{'IMHR_inbuf'}
81 4 4 unless $eof
104 6 6 if ($bytes_read) { }
6 0 elsif (defined $bytes_read) { }
0 0 elsif ($! == 4 or $! == 11 or $! == 11) { }
125 6 0 if $self->{'IMHR_read_more'}
133 6 0 if $self->{'IMHR_read_more'}