Branch Coverage

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


line true false branch
45 8 66 if $self->is_local_ip_address
46 2 64 if $self->is_trusted_ip_address
47 0 64 if $self->is_authenticated
53 117 758 if $self->is_local_ip_address
54 30 728 if $self->is_trusted_ip_address
55 0 728 if $self->is_authenticated
56 66 662 if (lc $header eq "from")
64 8 66 if $self->is_local_ip_address
65 2 64 if $self->is_trusted_ip_address
66 0 64 if $self->is_authenticated
69 0 64 unless ($spf_server)
81 0 64 unless ($identity)
104 0 64 unless ($config->{'hide_none'} and $result_code eq "none")
115 0 64 if (my $error = $@)