Branch Coverage

blib/lib/Mail/MtPolicyd/Plugin/SMTPVerify.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
92 0 2 if (defined $self->sender)
103 0 2 if ($self->get_uc($session, 'enabled') eq 'off')
110 0 2 if ($r->is_already_done('verify-' . $recipient))
117 0 2 unless ($result->count)
124 0 2 if ($self->check_tlsa eq 'on')
127 0 2 if ($self->check_openpgp eq 'on')
131 1 1 if ($rcpt->is_error)
143 0 2 unless (defined $value)
148 2 0 if ($value) { }
154 0 2 unless (defined $score)
168 1 0 if ($rcpt->is_perm_error) { }
0 0 elsif ($rcpt->is_temp_error) { }
169 1 0 if (defined $self->perm_fail_action)
172 1 0 if (defined $self->perm_fail_score)
177 0 0 if (defined $self->temp_fail_action)
180 0 0 if (defined $self->temp_fail_score)
188 0 1 unless (defined $action)