Branch Coverage

blib/lib/Bot/Backbone/SendPolicy/MinimumInterval.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
46 2 596 unless $self->has_last_send_time
49 593 3 if $self->last_send_time > $now or $now - $self->last_send_time < $self->interval
64 593 5 if ($too_soon)
67 295 298 if ($self->discard) { }
79 0 298 if $self->has_queue and $send{'after'} / $self->interval > $self->queue_length
83 303 295 if $save