Branch Coverage

blib/lib/Test/Future/IO/Impl.pm
Criterion Covered Total %
branch 19 46 41.3


line true false branch
68 0 3 unless $ctx->ok($got_time >= $want_time * 0.9 && $got_time <= $want_time * 1.5, $name)
89 0 5 unless my $code = "Test::Future::IO::Impl"->can("run_${test}_test")
111 0 1 unless my $serversock = "IO::Socket::INET"->new("Type", 1, "LocalAddr", "localhost", "LocalPort", 0, "Listen", 1)
125 1 0 $serversock->sockhost ne '0.0.0.0' ? :
129 0 1 unless my $clientsock = "IO::Socket::INET"->new("Type", 1)
132 0 1 unless $clientsock->connect($sockname)
149 0 1 unless my $serversock = "IO::Socket::INET"->new("Type", 1, "LocalAddr", "localhost", "LocalPort", 0, "Listen", 1)
159 1 0 $serversock->sockhost ne '0.0.0.0' ? :
165 0 1 unless my $clientsock = "IO::Socket::INET"->new("Type", 1)
183 0 1 if $^O eq "MSWin32"
187 0 1 unless my $clientsock = "IO::Socket::INET"->new("Type", 1)
245 0 1 unless pipe my $rd, my $wr
257 0 1 unless pipe my $rd, my $wr
269 0 1 unless pipe my $rd, my $wr
293 0 1 unless pipe my $rd, my $wr
305 0 1 if $^O eq "MSWin32"
307 0 1 unless pipe my $rd, my $wr
325 0 1 unless pipe my $rd, my $wr
341 0 1 unless pipe my $rd, my $wr
365 0 0 unless defined(my $pid = fork)
366 0 0 if ($pid == 0)
379 0 0 unless defined(my $pid = fork)
380 0 0 if ($pid == 0)