Condition Coverage

blib/lib/Net/Prober/tcp.pm
Criterion Covered Total %
condition 2 8 25.0


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 0 $sock->connected && $sock->close

or 2 conditions

line l !l condition
25 2 0 $timeout ||= 3.5

or 3 conditions

line l !l&&r !l&&!r condition
21 0 0 2 not defined $port or $port == 0