blib/lib/Net/Whois/Gateway/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 38 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 0 | 0 | 0 | $new_socket and $configuration |
91 | 0 | 0 | 0 | not $critical and $@ ne "timeout\n" |
110 | 0 | 0 | 0 | $buffer and $buffer =~ /^(\d+)\0/o |
0 | 0 | 0 | $buffer and $buffer =~ /^(\d+)\0/o and &bytes::length($buffer) >= $1 + &bytes::length($1) + 1 | |
148 | 0 | 0 | 0 | $SOCKET_FACTORY{$addr} and $SOCKET_FACTORY{$addr}->connected |
183 | 0 | 0 | 0 | $$result{'whois'} and defined $POSTPROCESS{$server} |
line | l | !l | condition |
---|---|---|---|
42 | 0 | 0 | $param{'timeout'} || 30 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
76 | 0 | 0 | 0 | not defined $w or $w <= 0 |
82 | 0 | 0 | 0 | not defined $r or $r <= 0 |
127 | 0 | 0 | 0 | $$param_ref{'gateway_host'} || $default_host |
128 | 0 | 0 | 0 | $$param_ref{'gateway_port'} || $default_port |
138 | 0 | 0 | 0 | $$param_ref{'gateway_host'} || $default_host |
139 | 0 | 0 | 0 | $$param_ref{'gateway_port'} || $default_port |