Condition Coverage

blib/lib/Future/Queue.pm
Criterion Covered Total %
condition 19 24 79.1


and 3 conditions

line !l l&&!r l&&r condition
137 19 2 9 @$shift_waiters and @$items
212 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]->()
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 11 $prototype // "Future"
165 0 2 $self->{'push_waiters'} //= []
210 6 16 $self->{'push_waiters'} || []

or 3 conditions

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