Condition Coverage

blib/lib/Mail/Milter/Authentication/Handler/DKIM.pm
Criterion Covered Total %
condition 27 57 47.3


and 3 conditions

line !l l&&!r l&&r condition
74 0 0 163 defined $selector and defined $domain
208 0 0 0 $config->{'hide_none'} and $dkim_result eq "none"
242 101 0 62 $signature_result ne "pass" and $signature_result ne "none"
248 143 20 0 $config->{'hide_none'} and $signature_result eq "none"
300 0 0 163 $key_type and $hash_algorithm
312 85 8 38 $config->{'check_adsp'} and $self->is_local_ip_address == 0
93 2 36 $config->{'check_adsp'} and $self->is_local_ip_address == 0 and $self->is_trusted_ip_address == 0
10 0 36 $config->{'check_adsp'} and $self->is_local_ip_address == 0 and $self->is_trusted_ip_address == 0 and $self->is_authenticated == 0
338 72 36 0 $type eq "x-dkim-dkssp" and not $self->show_domainkeys
346 84 24 0 $config->{'adsp_hide_none'} and $result eq "none"

or 2 conditions

line l !l condition
255 163 0 eval {
257 163 0 eval {
259 163 0 eval {
261 163 0 eval {
262 163 0 eval {
321 36 72 $policy->location || ''

or 3 conditions

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