Condition Coverage

blib/lib/Mail/Milter/Authentication/Handler/DMARC.pm
Criterion Covered Total %
condition 17 45 37.7


and 3 conditions

line !l l&&!r l&&r condition
223 0 0 0 $spf->{'dmarc_result'} eq 'pass' and lc $spf->{'dmarc_domain'} eq lc $header_domain
425 57 0 0 $have_arc and $dmarc_code eq 'fail'
435 20 0 0 $config->{'no_list_reject'} and $self->{'is_list'}
449 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
483 57 0 0 $config->{'hide_none'} and $dmarc_code eq 'none'
495 0 56 1 $config->{'detect_list_id'} and $self->{'is_list'}
519 57 0 0 $is_subdomain && $dmarc_sub_policy ne 'default'
588 153 0 0 $config->{'debug'} and $config->{'logtoerr'}
712 0 70 4 $org_domain and $org_domain ne $domain

or 2 conditions

line l !l condition
115 2 6 $ip_obj->overlaps($whitelisted_obj) || 0
456 0 0 $config->{'no_list_reject_disposition'} // 'none'
470 0 7 $config->{'no_reject_disposition'} // 'quarantine'

or 3 conditions

line l !l&&r !l&&!r condition
116 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