Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/DNSEval.pm
Criterion Covered Total %
condition 1 63 1.5


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]+)/
432 0 0 0 defined $host and $host ne ''
524 0 0 0 defined $nshost and $nshost ne ''
553 0 0 0 defined $value and not $seen{$value}++
559 0 0 0 defined $host and $host ne ''
573 0 0 0 defined $host and $host ne ''
595 0 0 0 defined $_ and / \@ ( [^\@\s]+ )/x
605 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
427 0 0 $conf->{'tflags'}{$rule} || ''
430 0 0 $conf->{'tflags'}{$rule} || ''
562 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''
565 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''
613 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''
616 0 0 $pms->{'conf'}{'tflags'}{$rule} || ''

or 3 conditions

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