Condition Coverage

blib/lib/Mail/DKIM/Verifier.pm
Criterion Covered Total %
condition 24 39 61.5


and 3 conditions

line !l l&&!r l&&r condition
157 0 2 83 $signature->algorithm and $signature->get_algorithm_class($signature->algorithm)
253 0 5 52 $result &&= $public_key->check_granularity($signature->identity, $empty_g_means_wildcard)
275 0 0 73 defined $i and $i =~ /\@([^\@]*)$/
299 80 0 1 @{$self->{'signatures'};} == 0 and not defined $self->{'signature_reject_reason'}
313 73 0 0 $sig->result && $sig->result eq 'invalid'
316 68 0 12 @{$self->{'algorithms'};} == 0 and @{$self->{'signatures'};} > 0
356 22 26 1 $keysize < 1024 and $self->{'Strict'}

or 2 conditions

line l !l condition
135 73 0 $self->{'algorithms'} ||= []
319 12 0 $self->{'signatures'}[0]->result || 'invalid'
352 35 17 $pkey->get_tag('k') || 'rsa'

or 3 conditions

line l !l&&r !l&&!r condition
321 12 0 0 $self->{'signatures'}[0]{'verify_details'} || $self->{'signature_reject_reason'}
368 2 8 39 $algorithm->{'verification_details'} || $@
407 68 2 3 not $self->{'result'} or $result eq "pass"
440 0 0 0 $author ||= $self->message_originator->address