blib/lib/Mail/SpamAssassin/Plugin/SPF.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 59 | 18.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
141 | 0 | 0 | 0 | defined $value and not $value =~ /^$/ |
456 | 0 | 0 | 0 | $scanner->{'spf_checked'} and $scanner->{'spf_helo_checked'} |
507 | 0 | 0 | 0 | $scanner->{'spf_checked'} and $scanner->{'spf_helo_checked'} |
516 | 0 | 4 | 0 | $ishelo and $scanner->{'spf_helo_checked'} |
4 | 0 | 0 | not $ishelo and $scanner->{'spf_checked'} | |
647 | 0 | 0 | 0 | $ishelo and $helo =~ /^[\[!]?\d+\.\d+\.\d+\.\d+[\]!]?$/ || $helo =~ /^[^.]+$/ |
652 | 0 | 0 | 0 | $helo and $scanner->server_failed_to_respond_for_domain($helo) |
805 | 49 | 0 | 28 | $scanner->{'num_relays_trusted'} > 0 and not $scanner->{'conf'}{'always_trust_envelope_sender'} |
833 | 77 | 0 | 4 | $scanner->{'spf_checked'} and not $scanner->{'spf_pass'} |
871 | 77 | 0 | 4 | $scanner->{'spf_checked'} and not $scanner->{'spf_pass'} |
line | l | !l | condition |
---|---|---|---|
671 | 0 | 0 | $helo ||= "unknown" |
743 | 0 | 0 | $result ||= "timeout" |
744 | 0 | 0 | $comment ||= "" |
746 | 0 | 0 | $text ||= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
52 | 0 | 63 | 0 | ref $class || $class |
425 | 0 | 0 | 0 | $identity eq "mfrom" or $identity eq "mailfrom" |
476 | 0 | 0 | 0 | $identity eq "mfrom" or $identity eq "mailfrom" |
516 | 0 | 0 | 4 | $ishelo and $scanner->{'spf_helo_checked'} or not $ishelo and $scanner->{'spf_checked'} |
530 | 0 | 0 | 1 | not defined $Mail::SPF::VERSION or $Mail::SPF::VERSION < "2.001" |
561 | 0 | 0 | 0 | not defined $Mail::SPF::Query::VERSION or $Mail::SPF::Query::VERSION < "1.996" |
647 | 0 | 0 | 0 | $helo =~ /^[\[!]?\d+\.\d+\.\d+\.\d+[\]!]?$/ || $helo =~ /^[^.]+$/ |