Condition Coverage

blib/lib/Net/Whois/IP.pm
Criterion Covered Total %
condition 19 36 52.7


and 3 conditions

line !l l&&!r l&&r condition
83 10 0 0 $raw_flag and $raw_flag ne ''
132 786 0 0 $multiple_flag and $multiple_flag ne ''
155 18 0 0 $search_options and $search_options->[0] ne ''
164 696 0 8 /source:\s+(\S+)/i and not defined $hash_response->{$pattern1}
256 428 2 $registrar eq 'ARIN' and /.+\((.+)\).+$/
684 2 0 $registrar eq 'ARIN' and /.+\((.+)\).+$/ and not $_ =~ /.+\:.+/
180 0 0 10 $1 ne '' and not defined $hash_response->{$pattern1}
0 10 0 $1 ne '' and not defined $hash_response->{$pattern1} and not defined $hash_response->{$pattern2}

or 3 conditions

line l !l&&r !l&&!r condition
38 10 0 0 $ip =~ /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/ or $ip =~ /^$Net::Whois::IP::IPv6_re$/
69 0 8 10 $new_ip ne $ip or $new_registrar ne $registrar
106 2 0 6 $registrar eq 'whois.ripe.net' or $registrar eq 'whois.afrinic.net'
164 10 0 704 /OrgID:\s+(\S+)/i or /source:\s+(\S+)/i and not defined $hash_response->{$pattern1}