line |
true |
false |
branch |
68
|
5 |
17 |
if (defined $self->{'KeyFile'}) |
73
|
0 |
22 |
unless ($self->{'Algorithm'}) |
78
|
17 |
5 |
unless ($self->{'Domain'}) |
83
|
5 |
17 |
unless ($self->{'SrvId'}) |
88
|
0 |
22 |
unless ($self->{'Selector'}) |
95
|
0 |
22 |
unless $self->{'Algorithm'} eq "rsa-sha256" |
97
|
0 |
22 |
unless $self->{'Chain'} and $self->{'Chain'} =~ /^(pass|fail|none|ar)$/ |
112
|
29 |
168 |
if ($header =~ /^Authentication-Results:/) { } |
119
|
1 |
28 |
unless (eval {
do {
$parsed = "Mail::AuthenticationResults::Parser"->new->parse($header);
1
}
}) |
127
|
3 |
25 |
unless lc $ardom eq $self->{'SrvId'} |
131
|
23 |
2 |
unless $arval =~ /^\015\012/ |
132
|
5 |
20 |
if ($ar) { } |
141
|
18 |
7 |
if $self->{'Chain'} eq "ar" and $arval =~ /\barc=(none|pass|fail)/ |
147
|
19 |
149 |
if ($header =~ /^ARC-/) |
148
|
0 |
19 |
unless ($ar) |
154
|
1 |
18 |
if ($self->{'Chain'} eq "ar") |
163
|
6 |
161 |
if ($header =~ /^ARC-Seal:/) { } |
|
6 |
155 |
elsif ($header =~ /^ARC-Message-Signature:/) { } |
|
6 |
149 |
elsif ($header =~ /^ARC-Authentication-Results:\s*i=(\d+)/) { } |
166
|
0 |
6 |
if ($as[$i]) |
176
|
0 |
6 |
if ($ams[$i]) |
186
|
0 |
6 |
if ($aar[$i]) |
198
|
2 |
19 |
unless ($ar) |
204
|
1 |
18 |
if $self->{'Chain'} eq "ar" |
206
|
0 |
19 |
if ($#ams > $#as) |
211
|
0 |
19 |
if ($#aar > $#as) |
218
|
0 |
6 |
unless ($as[$i]) |
223
|
0 |
6 |
unless ($ams[$i]) |
252
|
16 |
3 |
$self->{'Timestamp'} ? : |
|
0 |
19 |
$self->{'Expiration'} ? : |
|
0 |
19 |
$self->{'Tags'} ? : |
271
|
3 |
19 |
if ($self->{'result'} eq "skipped") |
288
|
0 |
19 |
if (defined $key and not ref $key) |
292
|
0 |
19 |
unless $key |
322
|
16 |
3 |
$self->{'Timestamp'} ? : |
|
0 |
19 |
$self->{'Expiration'} ? : |
|
0 |
19 |
$self->{'SealTags'} ? : |
353
|
0 |
19 |
if (defined $key and not ref $key) |
357
|
0 |
19 |
unless $key |
378
|
0 |
38 |
unless my $algorithm_class = $signature->get_algorithm_class($signature->algorithm) |
392
|
0 |
0 |
if (@_ == 1) |
401
|
0 |
0 |
if (@_ == 1) |
429
|
0 |
0 |
if $header eq lc $header |
430
|
0 |
0 |
if (exists $self->{'ExtendedHeaders'}{lc $header}) { } |
435
|
0 |
0 |
if ($first eq '+' or $second eq '+') { } |
|
0 |
0 |
elsif ($first eq '*' or $second eq '*') { } |
454
|
0 |
0 |
unless ($self->{'NoDefaultHeaders'}) |
456
|
0 |
0 |
unless (exists $self->{'ExtendedHeaders'}{lc $default}) |
465
|
0 |
0 |
if (not exists $$header_counts{lc $header}) { } |
477
|
0 |
0 |
if ($want_count eq '+') { } |
|
0 |
0 |
elsif ($want_count eq '*') { } |
484
|
0 |
0 |
if ($want_count > $have_count) { } |
506
|
0 |
38 |
if @_ |
508
|
0 |
38 |
if (exists $self->{'ExtendedHeaders'}) |
517
|
6 |
32 |
unless ($self->{'NoDefaultHeaders'}) |
520
|
32 |
6 |
if ($self->{'Headers'}) |
544
|
0 |
0 |
if (@_) |
554
|
0 |
0 |
if (@_) |
565
|
0 |
0 |
if (@_ == 1) |
574
|
0 |
0 |
if @_ |
581
|
1 |
16 |
unless $self->{'_AS'} |