Branch Coverage

blib/lib/AnyEvent/Handle/Writer.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
134 0 0 unless $$h{'_writer_wbuf'}
0 0 if (@{[] unless $$h{'_writer_wbuf'};}) { }
137 0 0 if defined $old
145 0 0 if (@_ > 1)
152 0 0 if (ref $_[0] or @{$$self{'_writer_wbuf'};}) { }
163 0 0 if (@_ > 1)
170 0 0 if (ref $_[0]) { }
173 0 0 if ($$self{'_writer_buffer_clean'}) { }
186 0 0 if (ref $$self{'_writer_wbuf'}[0]) { }
187 0 0 if ($$self{'_writer_wbuf'}[0]($self))
191 0 0 if (not $$self{'_ww'} || length $$self{'_wbuf'}) { }
230 0 0 unless ($$self{'tls'} or $NO_SENDFILE)
231 0 0 unless eval { do { require Sys::Sendfile; $do_sendfile = 1 } }
238 0 0 if (open $f, '<:raw', $file) { }
251 0 0 unless $f
259 0 0 if (defined $read and $read >= 0) { }
0 0 elsif ($!{'EAGAIN'} or $!{'EINTR'} or $!{'WSAEWOULDBLOCK'}) { }
262 0 0 if ($read > 0) { }
0 0 elsif ($size > 0) { }
271 0 0 if ($size > 0)
290 0 0 unless $do_sendfile
291 0 0 unless $f
295 0 0 if (defined $len) { }
0 0 elsif ($!{'EAGAIN'} or $!{'EINTR'} or $!{'WSAEWOULDBLOCK'}) { }
0 0 elsif ($!{'EINVAL'}) { }
0 0 elsif ($!{'EINVAL'} or $!{'ENOSYS'} or $!{'ENOTSUP'} or $!{'EOPNOTSUPP'} or $!{'EAFNOSUPPORT'} or $!{'EPROTOTYPE'} or $!{'ENOTSOCK'}) { }
299 0 0 if ($size > 0) { }
327 0 0 $do_sendfile ? :