blib/lib/Net/Prober/tcp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 8 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 0 | 0 | 0 | $sock->connected && $sock->close |
line | l | !l | condition |
---|---|---|---|
25 | 2 | 0 | $timeout ||= 3.5 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
21 | 0 | 0 | 2 | not defined $port or $port == 0 |