Branch Coverage

blib/lib/Mail/Milter/Authentication/Handler/SpamAssassin.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
49 0 0 if $user
56 0 0 unless (exists $self->{'remove_headers'})
59 0 0 unless (exists $self->{'remove_headers'}{lc $key})
88 0 0 if $self->is_trusted_ip_address
89 0 0 if lc $config->{'remove_headers'} eq 'no'
92 0 0 if (lc $header eq lc $header_type)
93 0 0 unless (exists $self->{'header_index'})
96 0 0 unless (exists $self->{'header_index'}{lc $header_type})
103 0 0 if (lc $config->{'remove_headers'} ne 'silent')
148 0 0 unless ($sa_client->ping)
165 0 0 $sa_status->{'isspam'} eq 'False' ? :
179 0 0 if (length $part . $hit > $max)
200 0 0 $sa_status->{'isspam'} eq 'False' ? :
205 0 0 $sa_status->{'isspam'} eq 'False' ? :
207 0 0 if ($sa_status->{'isspam'} eq 'True')
208 0 0 if ($config->{'hard_reject_at'})
209 0 0 if ($sa_status->{'score'} >= $config->{'hard_reject_at'})
210 0 0 unless ($self->is_local_ip_address or $self->is_trusted_ip_address)
219 0 0 if lc $config->{'remove_headers'} eq 'no'
222 0 0 if (exists $self->{'remove_headers'}{lc $header_type})