Branch Coverage

blib/lib/POE/Component/MessageQueue/Storage/Complex.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
205 0 404 ref $arg eq 'ARRAY' ? :
248 0 246 unless my $top = $self->idle_heap->extract_top
250 246 0 unless $self->in_back($id)
255 246 21 if (@bump)
266 2 216 unless not $_->has_expiration
267 30 216 unless $_->persistent
272 233 34 if ($message->persistent) { }
2 32 elsif ($message->has_expiration) { }
282 2 265 if $self->count_expirations == 1
297 1 5 if $self->shutting_down
299 1 4 if (my(@front_exp) = _is_expired($self->front_expiration_pairs))
312 2 3 if (my(@np_exp) = _is_expired($self->nonpersistent_expiration_pairs))
317 2 0 if @remove
321 4 1 if $self->count_expirations
336 5 4 if $_->persistent