Branch Coverage

blib/lib/Mail/MtPolicyd/Plugin/Greylist.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
50 0 0 if ($enabled eq 'off')
54 0 0 if ($self->use_autowl and $self->query_autowl)
58 0 0 if ($is_autowl)
65 0 0 if (defined $ticket)
66 0 0 if ($self->is_valid_ticket($ticket))
68 0 0 if ($self->use_autowl and not $r->is_already_done('greylist-autowl-add'))
78 0 0 if ($self->create_ticket)
89 0 0 if (defined $ticket and $self->append_waittime)
100 0 0 if (defined $self->score and not $r->is_already_done('greylist-score'))
103 0 0 if ($self->mode eq 'accept' or $self->mode eq 'dunno')
116 0 0 if ($sender =~ /@/) { }
133 0 0 unless (defined $row)
141 0 0 if ($now > $expires)
147 0 0 if ($row->{'count'} < $self->autowl_threshold)
165 0 0 if (defined $row)
223 0 0 if (my $ticket = $r->server->memcached->get($key))
231 0 0 if (time > $ticket)
288 0 0 if (grep {$_ eq 'hourly';} @_)