Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/AskDNS.pm
Criterion Covered Total %
condition 1 38 2.6


and 3 conditions

line !l l&&!r l&&r condition
346 0 0 0 @answer_types == 1 && $answer_types[0] eq $query_type
447 0 0 0 !$seen{$_}++ && defined $tags{$_} && $tags{$_} ne ''
533 0 0 0 defined $rcode and exists $rcode_value{$rcode}
610 0 0 0 defined $rr_type && grep(($_ eq 'ANY' || $_ eq $rr_type), @$answer_types_ref)
0 0 0 defined $rdatanum and $subtest =~ m[^ (\d+) (?: ([/-]) (\d+) )? \z]x
626 0 0 0 $rdatanum & $n1 && ($rdatanum & 4278190080) == 2130706432
0 0 0 $rdatanum >= $n1 && $rdatanum <= $n2

or 2 conditions

line l !l condition
346 0 0 $self->{'askdns'}{$depends_on_tags}{$query_template_key} ||= {'query', $query_template, 'rules', {}, 'q_type', $query_type, 'a_types', @answer_types == 1 && $answer_types[0] eq $query_type ? undef : \@answer_types}

or 3 conditions

line l !l&&r !l&&!r condition
210 0 62 0 ref $class || $class
314 0 0 0 not defined $value or $value =~ /^$/
331 0 0 0 @answer_types > 1 or $answer_types[0] eq 'ANY'
582 0 0 0 $txtdata_can_provide_a_list or $rr_type ne 'TXT'
601 0 0 0 not defined $qtype or $query_type ne $qtype