Condition Coverage

blib/lib/Mail/DKIM/Verifier.pm
Criterion Covered Total %
condition 22 37 59.4


and 3 conditions

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

or 2 conditions

line l !l condition
135 67 0 $self->{'algorithms'} ||= []
319 12 0 $self->{'signatures'}[0]->result || 'invalid'

or 3 conditions

line l !l&&r !l&&!r condition
321 12 0 0 $self->{'signatures'}[0]{'verify_details'} || $self->{'signature_reject_reason'}
364 1 7 38 $algorithm->{'verification_details'} || $@
400 62 2 3 not $self->{'result'} or $result eq "pass"
433 0 0 0 $author ||= $self->message_originator->address