blib/lib/Mail/Milter/Authentication/Handler/DMARC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 60 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
248 | 2 | 0 | 0 | $spf->{'dmarc_result'} eq "pass" and lc $spf->{'dmarc_domain'} eq lc $header_domain |
474 | 101 | 8 | 2 | $have_arc and $dmarc_code eq "fail" |
486 | 25 | 0 | 0 | $config->{'no_list_reject'} and $self->{'is_list'} |
534 | 0 | 0 | 0 | $config->{'arc_before_list'} and $have_arc |
0 | 0 | 0 | $config->{'arc_before_list'} and $have_arc and $self->get_handler("ARC")->get_trusted_arc_authentication_results | |
570 | 111 | 0 | 0 | $config->{'policy_rbl_lookup'} and $dmarc_code eq 'pass' || $arc_aware_result eq 'pass' |
595 | 18 | 92 | 1 | $config->{'detect_list_id'} and $self->{'is_list'} |
619 | 105 | 6 | 0 | $is_subdomain && $dmarc_sub_policy ne 'default' |
685 | 137 | 0 | 82 | $self->config->{'debug'} and $self->config->{'logtoerr'} |
805 | 0 | 99 | 7 | $org_domain and $org_domain ne $domain |
881 | 89 | 13 | 5 | $config->{'hide_none'} and $dmarc_header->value eq "none" |
line | l | !l | condition |
---|---|---|---|
120 | 2 | 6 | $ip_obj->overlaps($whitelisted_obj) || 0 |
515 | 1 | 0 | $domain //= "" |
516 | 1 | 0 | $selector //= "" |
517 | 0 | 1 | $remote_ip //= "" |
541 | 0 | 0 | $config->{'no_list_reject_disposition'} // "none" |
555 | 0 | 12 | $config->{'no_reject_disposition'} // "quarantine" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
121 | 2 | 0 | 6 | $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_A_IN_B_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_B_IN_A_OVERLAP |
2 | 0 | 6 | $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_A_IN_B_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_B_IN_A_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_PARTIAL_OVERLAP | |
0 | 0 | 6 | $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_A_IN_B_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_B_IN_A_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_PARTIAL_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::DMARC::IP_IDENTICAL | |
512 | 0 | 0 | 1 | $remote_ip //= eval { |
570 | 0 | 0 | 0 | $dmarc_code eq 'pass' || $arc_aware_result eq 'pass' |