blib/lib/Mail/SpamAssassin/DnsResolver.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 55 | 25.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
104 | 0 | 80 | 0 | not $force_ipv4 and $io_socket_module_name eq 'IO::Socket::INET' |
150 | 0 | 0 | 80 | $edns and $edns > 512 |
177 | 0 | 0 | 80 | not $self->{'no_resolver'} and defined $Net::DNS::VERSION |
267 | 0 | 0 | 0 | $lport >= 0 and $lport <= 65535 |
309 | 0 | 0 | 0 | vec $ports_bitset, $ind++, 1 and ++$cnt |
599 | 0 | 0 | 13 | $udp_payload_size and $udp_payload_size > 512 |
702 | 0 | 0 | 13 | $self->{'sock'} and defined $self->{'sock'}->send($pkt->data, 0) |
749 | 0 | 0 | 13 | defined $decoded_length and $decoded_length ne '' |
0 | 13 | 0 | defined $decoded_length and $decoded_length ne '' and $decoded_length != length $data | |
930 | 0 | 0 | 0 | $i < $retries and not defined $answerpkt |
line | l | !l | condition |
---|---|---|---|
410 | 1 | 0 | $srcaddr || 'x' |
837 | 0 | 0 | $self->{'conf'}{'dns_options'}{'edns'} || 512 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
71 | 0 | 79 | 0 | ref $class || $class |
238 | 94 | 0 | 0 | $self->{'force_ipv4'} or $self->{'force_ipv6'} |
427 | 0 | 0 | 0 | $! == 98 or $! == 13 |
536 | 0 | 0 | 13 | not defined $type or $type eq 'PTR' |
778 | 0 | 1 | 17 | not defined $timeout or $timeout > 0 |
786 | 0 | 0 | 18 | not defined $nfound or $nfound < 0 |
858 | 0 | 0 | 0 | $rcode eq 'REFUSED' or $id =~ m[^\d+/NO_QUESTION_IN_PACKET\z] |