Condition Coverage

blib/lib/Geonode/Free/ProxyList.pm
Criterion Covered Total %
condition 40 42 95.2


and 3 conditions

line !l l&&!r l&&r condition
146 1 2 6 defined $country and not $country =~ /^[A-Z]{2}$/msx
167 1 3 2 defined $google and not $google =~ /^(?: true|false )$/msx
187 1 2 4 defined $port and not $port =~ /^(?: (?!0)[0-9]++ )$/msx
205 1 6 2 defined $protocol_list and ref $protocol_list eq ""
1 5 1 defined $protocol_list and ref $protocol_list ne "ARRAY"
226 0 5 1 defined $protocol_list and @list == 0
244 1 6 2 defined $anonymity_list and ref $anonymity_list eq ""
1 5 1 defined $anonymity_list and ref $anonymity_list ne "ARRAY"
265 0 5 1 defined $anonymity_list and @list == 0
283 1 4 1 defined $speed and not $speed =~ /^(?: fast|medium|slow )$/msx
303 1 1 1 defined $org and $org eq ""
321 1 11 94 defined $uptime and not $uptime =~ /^(?: 0 | [1-9]0 | 100 )$/msx
341 1 15 59 defined $last_checked and not $last_checked =~ /^(?:[1-9]|[1-6]0)$/msx
361 1 1 4 defined $limit and not $limit =~ /^ (?!0)[0-9]++ $/msx