Condition Coverage

blib/lib/AnyEvent/Whois/Raw.pm
Criterion Covered Total %
condition 9 31 29.0


and 2 conditions

line l !l condition
268 0 0 $qurl->{'form'} && scalar keys %{$$qurl{'form'};}

and 3 conditions

line !l l&&!r l&&r condition
20 0 0 0 $@ and $@ =~ /^Call me later/
161 0 0 1 $handle and not $handle->destroyed
175 4 0 0 @lines and substr($lines[-1], -1) ne "\n"
220 0 5 0 not $rotate_reference and @Net::Whois::Raw::SRC_IPS
5 0 0 not $rotate_reference and @Net::Whois::Raw::SRC_IPS and $sockname eq getsockname $fh
267 0 0 0 $qurl->{'form'} and defined $qurl->{'form'}{'referer'}

or 2 conditions

line l !l condition
127 4 1 $AnyEvent::Whois::Raw::stash->{'results'}{'whois_query'}[$call] || die($AnyEvent::Whois::Raw::stash->{'errors'}{'whois_query'}[$call], "\n")
170 0 4 $Net::Whois::Raw::TIMEOUT || 30
205 5 0 $port || 43
212 0 5 $Net::Whois::Raw::TIMEOUT || 30

or 3 conditions

line l !l&&r !l&&!r condition
275 0 0 0 not $resp or $headers->{'Status'} > 299