Branch Coverage

blib/lib/Future/IO/Resolver/Using/Socket.pm
Criterion Covered Total %
branch 25 40 62.5


line true false branch
42 0 7 unless (@values)
43 0 7 if (@values > 255)
51 10 29 unless (defined $v)
55 0 29 if ($r eq "ARRAY")
58 3 26 if ($r eq "HASH")
61 6 20 if ($v =~ /^-?\d+$/u) { }
66 20 0 if $l < 256
82 8 85 if ($c eq "U")
85 8 77 if ($c eq "{")
90 28 49 if ($c eq "i")
93 49 0 if ($c eq "s" or $c eq "S")
94 49 0 $c eq 's' ? :
116 0 0 if ($code) { }
133 0 2 unless pipe my $child_rd, $wrpipe
135 0 2 unless pipe my $rdpipe, my $child_wr
141 0 2 unless defined(my $pid = fork)
144 0 2 unless ($pid)
172 0 4 unless my $f = shift @result_queue
174 4 0 if $f
191 3 0 if (not $err) { }