Condition Coverage

blib/lib/Mail/Milter/Authentication/Handler/DMARC.pm
Criterion Covered Total %
condition 34 66 51.5


and 3 conditions

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
478 110 8 2 $have_arc and $dmarc_code eq "fail"
495 69 45 6 $dmarc_code eq "pass" and $spfu_mitigation
524 0 0 6 $spfu_result->result ne "pass" and $dmarc_disposition ne $spfu_result->disposition
543 25 0 0 $config->{'no_list_reject'} and $self->{'is_list'}
591 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
627 120 0 0 $config->{'policy_rbl_lookup'} and $dmarc_code eq 'pass' || $arc_aware_result eq 'pass'
652 27 92 1 $config->{'detect_list_id'} and $self->{'is_list'}
676 114 6 0 $is_subdomain && $dmarc_sub_policy ne 'default'
742 137 0 106 $self->config->{'debug'} and $self->config->{'logtoerr'}
862 0 99 16 $org_domain and $org_domain ne $domain
938 98 13 5 $config->{'hide_none'} and $dmarc_header->value eq "none"

or 2 conditions

line l !l condition
120 2 6 $ip_obj->overlaps($whitelisted_obj) || 0
572 1 0 $domain //= ""
573 1 0 $selector //= ""
574 0 1 $remote_ip //= ""
598 0 0 $config->{'no_list_reject_disposition'} // "none"
612 0 12 $config->{'no_reject_disposition'} // "quarantine"

or 3 conditions

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
569 0 0 1 $remote_ip //= eval {
627 0 0 0 $dmarc_code eq 'pass' || $arc_aware_result eq 'pass'