Branch Coverage

blib/lib/Net/Async/TransferFD.pm
Criterion Covered Total %
branch 8 26 30.7


line true false branch
120 0 1 unless $self->{'pending'}
1 0 if (@{[] unless $self->{'pending'};})
132 0 0 unless $self->{'pending'}
0 1 if $self->handle and not @{[] unless $self->{'pending'};}
160 0 0 unless defined &recvmsg(scalar $self->handle->write_handle, $hdr, 0)
162 0 0 unless (length $hdr->{'control'})
171 0 0 unless open my $fh, '+<&=', $fileno
183 0 0 if $self->{'on_fh'}
191 1 0 if exists $args{'on_fh'}
193 1 0 if (exists $args{'handle'})
195 1 0 if ($h->isa('IO::Async::Handle')) { }
233 1 0 if $self->handle
246 1 0 if $self->handle