Branch Coverage

blib/lib/Data/Queue/Batch.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
34 19 14 if ($self->{'callback'} and $self->{'available'})
43 13 15 unless $self->{'available'}
50 2 2 if $count > $self->{'available'}
58 17 3 if ($self->{'callback'} and @taken)
74 18 37 if $self->{'available'} < 0
80 11 9 if $self->{'callback'}