blib/lib/Mail/DKIM/ARC/Signer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 33 | 27.2 |
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)/ |
288 | 0 | 19 | 0 | defined $key and not ref $key |
353 | 0 | 19 | 0 | defined $key and not ref $key |
line | l | !l | condition |
---|---|---|---|
232 | 4 | 15 | @as || 1 |
378 | 0 | 0 | $signature->algorithm || '' |
475 | 0 | 0 | $$header_counts{lc $header} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 0 | 5 | 0 | $self->{'Key'} ||= "Mail::DKIM::PrivateKey"->load("File", $self->{'KeyFile'}) |
287 | 0 | 0 | 0 | $signature->{'Key'} || $signature->{'KeyFile'} || $self->{'Key'} || $self->{'KeyFile'} |
352 | 0 | 0 | 0 | $signature->{'Key'} || $signature->{'KeyFile'} || $self->{'Key'} || $self->{'KeyFile'} |
435 | 0 | 0 | 0 | $first eq "+" or $second eq "+" |
0 | 0 | 0 | $first eq "*" or $second eq "*" |