Branch Coverage

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


line true false branch
34 0 0 @_ ? :
42 0 6 @_ > 1 ? :
0 0 ref $_[0] eq 'ARRAY' ? :
6 0 !ref($_[0]) ? :
50 0 0 ref $_[0] eq 'ARRAY' ? :
0 0 !ref($_[0]) ? :
65 0 12 if (exists $self->{'IMHW_outbuf'})
74 0 12 if (not defined $bytes_written) { }
12 0 elsif ($bytes_written == length $$blob) { }
75 0 0 unless ($! == 11 or $! == 4)
83 0 12 if $more
85 0 12 if $self->{'IMHW_is_closing'}
112 0 0 unless ($outbuf)
116 0 0 unless (defined $outbuf)
121 0 0 unless (length $$outbuf)
129 0 0 if (not defined $bytes_written) { }
0 0 elsif ($bytes_written == length $$outbuf) { }
131 0 0 if $! == 11 or $! == 4 or $! == 11
149 0 0 if defined $more
153 0 0 if $self->{'IMHW_is_closing'}
164 0 10 if ($self->{'IMHW_outbuf'}) { }