Condition Coverage

blib/lib/Future/Queue.pm
Criterion Covered Total %
condition 20 24 83.3


and 3 conditions

line !l l&&!r l&&r condition
137 51 2 9 @$shift_waiters and @$items
212 22 5 15 @$push_waiters and !defined($max_items) || @$items < $max_items
5 1 14 @$push_waiters and !defined($max_items) || @$items < $max_items and $push_waiters->[0]->()
234 5 0 1 not @$items and $self->{'finished'}
273 4 0 0 not @$items and $self->{'finished'}

or 2 conditions

line l !l condition
96 2 12 $prototype // "Future"
165 11 3 $self->{'push_waiters'} //= []
210 12 16 $self->{'push_waiters'} || []

or 3 conditions

line l !l&&r !l&&!r condition
212 0 15 5 !defined($max_items) || @$items < $max_items