Branch Coverage

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


line true false branch
60 0 0 if ($enabled eq 'off')
64 0 0 if ($self->use_autowl and $self->query_autowl)
68 0 0 if ($is_autowl)
75 0 0 if (defined $ticket)
76 0 0 if ($self->is_valid_ticket($ticket))
78 0 0 if ($self->use_autowl and not $r->is_already_done('greylist-autowl-add'))
88 0 0 if ($self->create_ticket)
99 0 0 if (defined $ticket and $self->append_waittime)
110 0 0 if (defined $self->score and not $r->is_already_done('greylist-score'))
113 0 0 if ($self->mode eq 'accept' or $self->mode eq 'dunno')
126 0 0 if ($sender =~ /@/) { }
143 0 0 unless (defined $row)
151 0 0 if ($now > $expires)
157 0 0 if ($row->{'count'} < $self->autowl_threshold)
175 0 0 if (defined $row)
233 0 0 if (my $ticket = $self->_memcached_handle->get($key))
241 0 0 if (time > $ticket)
298 0 0 if (grep {$_ eq 'hourly';} @_)