Branch Coverage

blib/lib/Mail/Milter/Authentication/Handler/SenderID.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
50 8 52 if $self->is_local_ip_address
51 2 50 if $self->is_trusted_ip_address
52 0 50 if $self->is_authenticated
59 117 542 if $self->is_local_ip_address
60 30 512 if $self->is_trusted_ip_address
61 0 512 if $self->is_authenticated
62 52 460 if (lc $header eq 'from')
71 8 52 if $self->is_local_ip_address
72 2 50 if $self->is_trusted_ip_address
73 0 50 if $self->is_authenticated
76 0 50 unless ($spf_server)
88 0 50 unless ($identity)
111 0 50 unless ($config->{'hide_none'} and $result_code eq 'none')
122 0 50 if (my $error = $@)