Condition Coverage

blib/lib/Mail/Milter/Authentication/Handler/DKIM.pm
Criterion Covered Total %
condition 21 46 45.6


and 3 conditions

line !l l&&!r l&&r condition
80 0 0 150 $selector and $domain
220 0 0 0 $config->{'hide_none'} and $dkim_result eq 'none'
254 88 0 62 $signature_result ne 'pass' and $signature_result ne 'none'
260 138 12 0 $config->{'hide_none'} and $signature_result eq 'none'
323 80 8 30 $config->{'check_adsp'} and $self->is_local_ip_address == 0
88 2 28 $config->{'check_adsp'} and $self->is_local_ip_address == 0 and $self->is_trusted_ip_address == 0
10 0 28 $config->{'check_adsp'} and $self->is_local_ip_address == 0 and $self->is_trusted_ip_address == 0 and $self->is_authenticated == 0
349 56 28 0 $type eq 'x-dkim-dkssp' and not $self->show_domainkeys
357 84 0 0 $config->{'adsp_hide_none'} and $result eq 'none'

or 2 conditions

line l !l condition
269 150 0 eval { do { $signature->selector } } || ''
332 28 56 $policy->location || ''

or 3 conditions

line l !l&&r !l&&!r condition
358 28 0 56 not $default or $config->{'show_default_adsp'}
399 0 0 0 $error =~ /^DNS error: query timed out/ or $error =~ /^DNS query timeout/
0 0 0 $error =~ /^no domain to fetch policy for$/ or $error =~ /^policy syntax error$/
0 0 0 $error =~ /^no domain to fetch policy for$/ or $error =~ /^policy syntax error$/ or $error =~ /^empty domain label/
0 0 0 $error =~ /^no domain to fetch policy for$/ or $error =~ /^policy syntax error$/ or $error =~ /^empty domain label/ or $error =~ /^invalid name /