Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
Criterion Covered Total %
condition 24 71 33.8


and 3 conditions

line !l l&&!r l&&r condition
372 0 88 0 $is_rhsbl and $tfl{'ips_only'}
0 88 0 $is_rhsbl and $tfl{'domains_only'}
420 0 0 7 $info->{'types'}{'parsed'} and keys %{$$info{'types'};} == 1
457 0 4 15 keys %hostlist < $umd and @uri_ordered
474 0 0 0 @hosts and keys %hostlist < $umd
838 0 0 1 $host =~ /^$IPV4_ADDRESS$/o and not $host =~ /^$IP_PRIVATE$/o
879 0 6 0 not $$seen_lookups{'NS:' . $domain} and %$nsreviprules || %$nsrhsblrules || %$fullnsrhsblrules
884 6 0 0 %$areviprules and not $$seen_lookups{'A:' . $host}
937 0 0 0 defined $str and defined $dom
947 0 0 0 $nsmatch =~ /^$IPV4_ADDRESS$/o and not $nsmatch =~ /^$IP_PRIVATE$/o
1128 0 0 0 $rr_type eq 'A' and not $rdatastr =~ /^127\./
1138 10 1 7 $rdatanum & $n1 && ($rdatanum & 4278190080) == 2130706432
20 24 18 $rdatanum >= $n1 && $rdatanum <= $n2

or 2 conditions

line l !l condition
1047 0 0 $conf->{'tflags'}{$rulename} || ''

or 3 conditions

line l !l&&r !l&&!r condition
319 0 62 0 ref $class || $class
386 0 0 0 $tfl{'ns'} or not $tfl{'a'}
787 0 0 0 not defined $value or $value eq ''
879 0 0 6 %$nsreviprules || %$nsrhsblrules || %$fullnsrhsblrules
1167 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}