Branch Coverage

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


line true false branch
42 0 0 if $user
49 0 0 unless (exists $self->{'remove_headers'})
52 0 0 unless (exists $self->{'remove_headers'}{lc $key})
81 0 0 if $self->is_trusted_ip_address
82 0 0 if lc $config->{'remove_headers'} eq 'no'
85 0 0 if (lc $header eq lc $header_type)
86 0 0 unless (exists $self->{'header_index'})
89 0 0 unless (exists $self->{'header_index'}{lc $header_type})
96 0 0 if (lc $config->{'remove_headers'} ne 'silent')
141 0 0 unless ($sa_client->ping)
158 0 0 $sa_status->{'isspam'} eq 'False' ? :
172 0 0 if (length $part . $hit > $max)
193 0 0 $sa_status->{'isspam'} eq 'False' ? :
198 0 0 $sa_status->{'isspam'} eq 'False' ? :
200 0 0 if ($sa_status->{'isspam'} eq 'True')
201 0 0 if ($config->{'hard_reject_at'})
202 0 0 if ($sa_status->{'score'} >= $config->{'hard_reject_at'})
203 0 0 unless ($self->is_local_ip_address or $self->is_trusted_ip_address)
212 0 0 if lc $config->{'remove_headers'} eq 'no'
215 0 0 if (exists $self->{'remove_headers'}{lc $header_type})