Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
Criterion Covered Total %
condition 24 72 33.3


and 3 conditions

line !l l&&!r l&&r condition
375 0 88 0 $is_rhsbl and $tfl{'ips_only'}
0 88 0 $is_rhsbl and $tfl{'domains_only'}
423 0 0 7 $info->{'types'}{'parsed'} and keys %{$$info{'types'};} == 1
460 0 4 15 keys %hostlist < $umd and @uri_ordered
477 0 0 0 @hosts and keys %hostlist < $umd
841 0 0 1 $host =~ /^$IPV4_ADDRESS$/o and not $host =~ /^$IP_PRIVATE$/o
882 0 6 0 not $$seen_lookups{'NS:' . $domain} and %$nsreviprules || %$nsrhsblrules || %$fullnsrhsblrules
887 6 0 0 %$areviprules and not $$seen_lookups{'A:' . $host}
941 0 0 0 defined $str and defined $dom
951 0 0 0 $nsmatch =~ /^$IPV4_ADDRESS$/o and not $nsmatch =~ /^$IP_PRIVATE$/o
1050 0 0 0 defined $tflags->{$rulename} and $tflags->{$rulename} =~ /\b(?:ips_only|domains_only)\b/
1125 0 0 0 $rr_type eq 'A' and not $rdatastr =~ /^127\./
1135 10 1 7 $rdatanum & $n1 && ($rdatanum & 4278190080) == 2130706432
20 24 18 $rdatanum >= $n1 && $rdatanum <= $n2

or 3 conditions

line l !l&&r !l&&!r condition
314 0 63 0 ref $class || $class
389 0 0 0 $tfl{'ns'} or not $tfl{'a'}
790 0 0 0 not defined $value or $value eq ''
882 0 0 6 %$nsreviprules || %$nsrhsblrules || %$fullnsrhsblrules
1164 0 0 42 $pms->{'uridnsbl_active_rules_nsrevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_arevipbl'}{$rulename}
0 0 42 $pms->{'uridnsbl_active_rules_nsrevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_arevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_nsrhsbl'}{$rulename}
0 0 42 $pms->{'uridnsbl_active_rules_nsrevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_arevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_nsrhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_fullnsrhsbl'}{$rulename}
0 5 37 $pms->{'uridnsbl_active_rules_nsrevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_arevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_nsrhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_fullnsrhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_rhsbl'}{$rulename}
5 0 37 $pms->{'uridnsbl_active_rules_nsrevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_arevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_nsrhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_fullnsrhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_rhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_rhsbl_ipsonly'}{$rulename}
0 37 0 $pms->{'uridnsbl_active_rules_nsrevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_arevipbl'}{$rulename} or $pms->{'uridnsbl_active_rules_nsrhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_fullnsrhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_rhsbl'}{$rulename} or $pms->{'uridnsbl_active_rules_rhsbl_ipsonly'}{$rulename} or $pms->{'uridnsbl_active_rules_rhsbl_domsonly'}{$rulename}