blib/lib/Net/Async/Ping/ICMP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 12 | 41.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
85 | 6 | 0 | 0 | $self->use_ping_socket and socket $fh, 2, 2, $proto_num |
142 | 0 | 3 | 3 | not $ping_socket and $from_pid != $ping->_pid |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
75 | 0 | 6 | 0 | $timeout //= $self->default_timeout |
80 | 6 | 0 | 0 | (getprotobyname 'icmp')[2] || croak(q[Can't get icmp protocol by name]) |