Branch Coverage

blib/lib/Check/Socket.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
23 0 6 if ($env_hr->{'PERL_CORE'} and not $config_hr->{'extensions'} =~ /\bSocket\b/)
28 0 6 if ($env_hr->{'PERL_CORE'} and not $config_hr->{'extensions'} =~ /\bIO\b/)
33 0 6 if ($os eq "os2")
34 0 0 unless IO::Socket::pack_sockaddr_un("/foo/bar")
35 0 0 if ($@ =~ /not implemented/)
41 3 3 if ($os =~ /^(?:qnx|nto|vos)$/)
46 1 2 if ($os eq "MSWin32")
47 1 0 if ($env_hr->{'CONTINUOUS_INTEGRATION'})
54 0 0 unless (eval { do { socket my $sock, 1, 1, 0 } })