Condition Coverage

blib/lib/Mail/SpamAssassin/Dns.pm
Criterion Covered Total %
condition 7 50 14.0


and 3 conditions

line !l l&&!r l&&r condition
209 0 0 0 $log and not $self->{'already_logged'}{$log}
232 0 0 0 defined $qname and defined $rdatastr
258 0 0 0 $self->{'sender_host'} and lc $question->qname eq lc $self->{'sender_host'}
0 0 0 $self->{'sender_host'} and lc $question->qname eq lc $self->{'sender_host'} and $question->qtype =~ /^(?:A|MX)$/
0 0 0 $self->{'sender_host'} and lc $question->qname eq lc $self->{'sender_host'} and $question->qtype =~ /^(?:A|MX)$/ and $pkt->header->rcode =~ /^(?:NXDOMAIN|SERVFAIL)$/
0 0 0 $self->{'sender_host'} and lc $question->qname eq lc $self->{'sender_host'} and $question->qtype =~ /^(?:A|MX)$/ and $pkt->header->rcode =~ /^(?:NXDOMAIN|SERVFAIL)$/ and ++$self->{'sender_host_fail'} == 2
277 0 0 0 $answ_type ne 'A' and $answ_type ne 'TXT'
319 0 0 0 $rdatastr =~ /^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/ and Mail::SpamAssassin::Util::my_inet_aton($rdatastr) & $subtest
394 3063 0 33 defined $last_poll_time and &Mail::SpamAssassin::PerMsgStatus::time() - $last_poll_time < 0.1
413 0 96 0 defined $rbl_tag and $rbl_tag ne ''
484 336 0 0 $dnsopt eq 'test' and $diff > $dnsint
559 0 0 0 $retry > 0 and @domains
672 0 0 0 $SIG{'CHLD'} and $SIG{'CHLD'} ne 'IGNORE'

or 2 conditions

line l !l condition
208 0 0 $self->{'already_logged'} ||= {}
254 0 0 $ent->{'sets'} || []
476 336 0 $self->{'conf'}{'dns_test_interval'} || 600
479 328 8 $LAST_DNS_CHECK ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
348 0 0 0 $result or $alldone