Condition Coverage

blib/lib/Future/Queue.pm
Criterion Covered Total %
condition 17 22 77.2


and 3 conditions

line !l l&&!r l&&r condition
119 19 2 9 @$shift_waiters and @$items
194 18 3 3 @$push_waiters and !defined($max_items) || @$items < $max_items
3 1 2 @$push_waiters and !defined($max_items) || @$items < $max_items and $push_waiters->[0]->()
216 5 0 1 not @$items and $self->{'finished'}
255 4 0 0 not @$items and $self->{'finished'}

or 2 conditions

line l !l condition
147 0 2 $self->{'push_waiters'} //= []
192 6 16 $self->{'push_waiters'} || []

or 3 conditions

line l !l&&r !l&&!r condition
194 0 3 3 !defined($max_items) || @$items < $max_items