Condition Coverage

blib/lib/Net/Whois/IP.pm
Criterion Covered Total %
condition 1 36 2.7


and 3 conditions

line !l l&&!r l&&r condition
80 0 0 0 $raw_flag and $raw_flag ne ''
129 0 0 0 $multiple_flag and $multiple_flag ne ''
152 0 0 0 $search_options and $search_options->[0] ne ''
161 0 0 0 /source:\s+(\S+)/i and not defined $hash_response->{$pattern1}
0 0 0 $registrar eq 'ARIN' and /.+\((.+)\).+$/
0 0 0 $registrar eq 'ARIN' and /.+\((.+)\).+$/ and not $_ =~ /.+\:.+/
177 0 0 0 $1 ne '' and not defined $hash_response->{$pattern1}
0 0 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 2 0 0 $ip =~ /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/ or $ip =~ /^$Net::Whois::IP::IPv6_re$/
66 0 0 0 $new_ip ne $ip or $new_registrar ne $registrar
103 0 0 0 $registrar eq 'whois.ripe.net' or $registrar eq 'whois.afrinic.net'
161 0 0 0 /OrgID:\s+(\S+)/i or /source:\s+(\S+)/i and not defined $hash_response->{$pattern1}