Branch Coverage

lib/IOMux/Handler/Write.pm
Criterion Covered Total %
branch 8 42 19.0


line true false branch
38 0 0 @_ ? :
46 0 6 @_ > 1 ? :
0 0 ref $_[0] eq 'ARRAY' ? :
6 0 !ref($_[0]) ? :
54 0 0 ref $_[0] eq 'ARRAY' ? :
0 0 !ref($_[0]) ? :
69 0 12 if (exists $self->{'IMHW_outbuf'})
78 0 12 if (not defined $bytes_written) { }
12 0 elsif ($bytes_written == length $$blob) { }
79 0 0 unless ($! == 11 or $! == 4)
87 0 12 if $more
89 0 12 if $self->{'IMHW_is_closing'}
116 0 0 unless ($outbuf)
120 0 0 unless (defined $outbuf)
125 0 0 unless (length $$outbuf)
133 0 0 if (not defined $bytes_written) { }
0 0 elsif ($bytes_written == length $$outbuf) { }
135 0 0 if $! == 11 or $! == 4 or $! == 11
153 0 0 if defined $more
157 0 0 if $self->{'IMHW_is_closing'}
168 0 10 if ($self->{'IMHW_outbuf'}) { }