Condition Coverage

blib/lib/Mail/DKIM/ARC/Signer.pm
Criterion Covered Total %
condition 9 33 27.2


and 3 conditions

line !l l&&!r l&&r condition
97 0 0 22 $self->{'Chain'} and $self->{'Chain'} =~ /^(pass|fail|none|ar)$/
141 5 2 18 $self->{'Chain'} eq "ar" and $arval =~ /\barc=(none|pass|fail)/
284 0 19 0 defined $key and not ref $key
344 0 19 0 defined $key and not ref $key

or 2 conditions

line l !l condition
232 4 15 @as || 1
369 0 0 $signature->algorithm || ''
466 0 0 $$header_counts{lc $header} || 0

or 3 conditions

line l !l&&r !l&&!r condition
70 0 5 0 $self->{'Key'} ||= "Mail::DKIM::PrivateKey"->load("File", $self->{'KeyFile'})
283 0 0 0 $signature->{'Key'} || $signature->{'KeyFile'} || $self->{'Key'} || $self->{'KeyFile'}
343 0 0 0 $signature->{'Key'} || $signature->{'KeyFile'} || $self->{'Key'} || $self->{'KeyFile'}
426 0 0 0 $first eq "+" or $second eq "+"
0 0 0 $first eq "*" or $second eq "*"