Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/DNSEval.pm
Criterion Covered Total %
condition 1 54 1.8


and 3 conditions

line !l l&&!r l&&r condition
237 0 0 0 not $rbl_server =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/ and index($rbl_server, ".") >= 0
0 0 0 not $rbl_server =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/ and index($rbl_server, ".") >= 0 and not $rbl_server =~ /\.$/
264 0 0 0 defined $str and $str ne ""
311 0 0 0 $ip and not $trusted->contains_ip($ip)
326 0 0 0 $ip and not $trusted->contains_ip($ip)
345 0 0 0 defined $tflags and not $tflags =~ /\bnice\b/
347 0 0 0 @ips and $trusted->contains_ip($ips[0])
420 0 0 0 defined $addr and $addr =~ /\@([^\@\s]+)/
557 0 0 0 defined $value and not $seen{$value}++
563 0 0 0 defined $host and $host ne ""
600 0 0 0 defined $_ and / \@ ( [^\@\s]+ )/x
610 0 0 0 not $rbl_server =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/ and index($rbl_server, ".") >= 0
0 0 0 not $rbl_server =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/ and index($rbl_server, ".") >= 0 and not $rbl_server =~ /\.$/

or 2 conditions

line l !l condition
428 0 0 $conf->{'tflags'}{$rule} || ''
431 0 0 $conf->{'tflags'}{$rule} || ''
566 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''
569 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''
618 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''
621 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''

or 3 conditions

line l !l&&r !l&&!r condition
66 0 63 0 ref $class || $class