Branch Coverage

blib/lib/Test/Future/IO/Impl.pm
Criterion Covered Total %
branch 18 44 40.9


line true false branch
68 0 3 unless $test->ok($got_time >= $want_time * 0.9 && $got_time <= $want_time * 1.5, $name)
87 0 5 unless my $code = "Test::Future::IO::Impl"->can("run_${test}_test")
109 0 1 unless my $serversock = "IO::Socket::INET"->new("Type", 1, "LocalAddr", "localhost", "LocalPort", 0, "Listen", 1)
123 1 0 $serversock->sockhost ne '0.0.0.0' ? :
127 0 1 unless my $clientsock = "IO::Socket::INET"->new("Type", 1)
130 0 1 unless $clientsock->connect($sockname)
147 0 1 unless my $serversock = "IO::Socket::INET"->new("Type", 1, "LocalAddr", "localhost", "LocalPort", 0, "Listen", 1)
157 1 0 $serversock->sockhost ne '0.0.0.0' ? :
163 0 1 unless my $clientsock = "IO::Socket::INET"->new("Type", 1)
181 0 1 unless my $clientsock = "IO::Socket::INET"->new("Type", 1)
241 0 1 unless pipe my $rd, my $wr
253 0 1 unless pipe my $rd, my $wr
265 0 1 unless pipe my $rd, my $wr
289 0 1 unless pipe my $rd, my $wr
301 0 1 if $^O eq "MSWin32"
303 0 1 unless pipe my $rd, my $wr
321 0 1 unless pipe my $rd, my $wr
337 0 1 unless pipe my $rd, my $wr
361 0 0 unless defined(my $pid = fork)
362 0 0 if ($pid == 0)
375 0 0 unless defined(my $pid = fork)
376 0 0 if ($pid == 0)