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'})
72 0 12 unless (defined $bytes_written)
73 0 0 if $! == 11 or $! == 4
80 12 0 if ($bytes_written == length $$blob)
82 0 12 if $more
83 0 12 if $$self{'IMHW_is_closing'}
106 0 0 unless ($outbuf)
108 0 0 unless (defined $outbuf)
114 0 0 unless (length $$outbuf)
122 0 0 if (not defined $bytes_written) { }
0 0 elsif ($bytes_written == length $$outbuf) { }
124 0 0 if $! == 11 or $! == 4 or $! == 11
138 0 0 if defined $more
141 0 0 if $$self{'IMHW_is_closing'}
153 0 10 if ($$self{'IMHW_outbuf'}) { }