Branch Coverage

blib/lib/Net/Whois/Gateway/Client.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
31 0 0 unless exists $param{'query'}
54 0 0 if $timeout
55 0 0 if $timeout
58 0 0 unless $socket
60 0 0 if ($new_socket and $configuration)
76 0 0 if (not defined $w or $w <= 0)
82 0 0 if (not defined $r or $r <= 0)
89 0 0 if ($@)
91 0 0 if not $critical and $@ ne "timeout\n"
94 0 0 if $resp
97 0 0 if $timeout
99 0 0 if ($@)
100 0 0 if ($@ eq "timeout\n") { }
110 0 0 if ($buffer and $buffer =~ /^(\d+)\0/o and &bytes::length($buffer) >= $1 + &bytes::length($1) + 1) { }
148 0 0 if $SOCKET_FACTORY{$addr} and $SOCKET_FACTORY{$addr}->connected
183 0 0 if ($$result{'whois'} and defined $POSTPROCESS{$server})