Condition Coverage

blib/lib/Mail/DKIM/AuthorDomainPolicy.pm
Criterion Covered Total %
condition 2 27 7.4


and 3 conditions

line !l l&&!r l&&r condition
33 0 0 0 $self and not $self->is_implied_default_policy
42 0 0 0 $prms{'Author'} and not $prms{'Domain'}
43 0 0 0 $prms{'Author'} =~ /\@([^\@]*)$/ && $1
51 0 0 0 not @resp and $@ eq "NXDOMAIN"
68 0 0 0 $prms->{'Author'} and not $prms->{'Domain'}
69 0 0 0 $prms->{'Author'} =~ /\@([^\@]*)$/ && $1
172 0 0 0 $self->policy && $self->policy =~ /all/i
180 0 1 1 $self->policy && $self->policy =~ /discardable/i

or 3 conditions

line l !l&&r !l&&!r condition
92 0 0 0 $DEFAULT_POLICY ||= $class->new