Branch Coverage

blib/lib/Mail/Milter/Authentication/Handler/AlignedFrom.pm
Criterion Covered Total %
branch 28 28 100.0


line true false branch
31 2 42 if $env_from eq "<>"
43 6 44 unless $email
54 92 44 if lc $header ne "from"
62 2 48 unless $email
102 6 38 if ($self->{'from_header_count'} > 1) { }
6 32 elsif ($self->{'envfrom_count'} > 1) { }
2 30 elsif (not $self->{'smtp_domain'} || $self->{'header_domain'}) { }
4 26 elsif (not $self->{'smtp_domain'}) { }
4 22 elsif (not $self->{'header_domain'}) { }
10 12 elsif ($self->{'smtp_address'} eq $self->{'header_address'}) { }
4 8 elsif ($self->{'smtp_domain'} eq $self->{'header_domain'}) { }
140 4 4 if ($self->is_handler_loaded('DMARC')) { }
148 3 1 if ($org_smtp_domain eq $org_header_domain) { }
167 39 5 if ($comment)