line |
true |
false |
branch |
57
|
0 |
0 |
unless my $socket = 'IO::Socket::INET'->new('Proto', 'icmp', 'Type', 3, 'Blocking', 0) |
62
|
0 |
0 |
if ($arg{'timeout'}) |
65
|
0 |
0 |
if ($arg{'try'} > 0) |
92
|
0 |
0 |
if ($bytesread > 0) { } |
96
|
0 |
0 |
if (exists $expected->{$ipstr} and $expected->{$ipstr} == 0) |
100
|
0 |
0 |
if $count == $got |
102
|
0 |
0 |
if ($sent < $count) { } |
|
0 |
0 |
elsif (not $endtime) { } |
108
|
0 |
0 |
unless $self->{'socket'}->send($msg, 0, scalar sockaddr_in(0, $ip)) |
117
|
0 |
0 |
if ($expected->{$ip} == 1) { } |
133
|
0 |
0 |
if ($result->{$h} == 0) |
138
|
0 |
0 |
if (@failedservers) |
141
|
0 |
0 |
if ($retryresult->{$h} == 1) |
157
|
0 |
0 |
if length($msg) % 2 |