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
97 10 0 2 $policy and $policy->can("apply")
185 0 19 1 defined $key and not ref $key

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
66 0 20 0 $self->{'Key'} ||= "Mail::DKIM::PrivateKey"->load("File", $self->{'KeyFile'})
101 6 1 1 @{$self->{'algorithms'};} or $default_sig
110 0 2 0 @{$self->{'algorithms'};} or $default_sig
184 7 1 0 $signature->{'Key'} || $signature->{'KeyFile'} || $self->{'Key'} || $self->{'KeyFile'}
267 0 0 0 $first eq "+" or $second eq "+"
0 0 0 $first eq "*" or $second eq "*"