Condition Coverage

blib/lib/Mail/DKIM/Signer.pm
Criterion Covered Total %
condition 13 28 46.4


and 3 conditions

line !l l&&!r l&&r condition
103 12 0 2 $policy and $policy->can("apply")
198 0 21 1 defined $key and not ref $key

or 2 conditions

line l !l condition
223 0 0 $signature->algorithm || ''
319 5 25 $$header_counts{lc $header} || 0

or 3 conditions

line l !l&&r !l&&!r condition
76 0 22 0 $self->{'Key'} ||= "Mail::DKIM::PrivateKey"->load("File", $self->{'KeyFile'}, "Type", $type)
107 6 1 1 @{$self->{'algorithms'};} or $default_sig
116 0 2 0 @{$self->{'algorithms'};} or $default_sig
197 7 1 0 $signature->{'Key'} || $signature->{'KeyFile'} || $self->{'Key'} || $self->{'KeyFile'}
281 0 0 0 $first eq "+" or $second eq "+"
0 0 0 $first eq "*" or $second eq "*"