Condition Coverage

blib/lib/IO/Socket/Timeout.pm
Criterion Covered Total %
condition 24 40 60.0


and 3 conditions

line !l l&&!r l&&r condition
37 3 5 0 not $ENV{'PERL_IO_SOCKET_TIMEOUT_FORCE_SELECT'} and $osname eq 'darwin' || $osname eq 'linux' || $osname eq 'freebsd'
70 0 4 0 $osname ne 'darwin' and $osname ne 'linux'
4 0 0 $osname ne 'darwin' and $osname ne 'linux' and $osname ne 'freebsd'
95 0 4 0 $osname ne 'darwin' and $osname ne 'linux'
4 0 0 $osname ne 'darwin' and $osname ne 'linux' and $osname ne 'freebsd'

or 2 conditions

line l !l condition
156 7 5 do { *$self }->{'ReadTimeout'} || 0
159 3 9 do { *$self }->{'WriteTimeout'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
37 5 0 0 $osname eq 'darwin' || $osname eq 'linux' || $osname eq 'freebsd'
70 1 0 4 $ENV{'PERL_IO_SOCKET_TIMEOUT_FORCE_SELECT'} or $osname ne 'darwin' and $osname ne 'linux' and $osname ne 'freebsd'
78 14 2 15 $_prevent_deep_recursion or not PerlIO::via::Timeout::has_timeout_layer($_[0])
16 0 15 $_prevent_deep_recursion or not PerlIO::via::Timeout::has_timeout_layer($_[0]) or not PerlIO::via::Timeout::timeout_enabled($_[0])
95 1 0 4 $ENV{'PERL_IO_SOCKET_TIMEOUT_FORCE_SELECT'} or $osname ne 'darwin' and $osname ne 'linux' and $osname ne 'freebsd'
103 6 0 6 $_prevent_deep_recursion or not PerlIO::via::Timeout::has_timeout_layer($_[0])
6 0 6 $_prevent_deep_recursion or not PerlIO::via::Timeout::has_timeout_layer($_[0]) or not PerlIO::via::Timeout::timeout_enabled($_[0])