Condition Coverage

blib/lib/Async/Stream.pm
Criterion Covered Total %
condition 29 38 76.3


and 3 conditions

line !l l&&!r l&&r condition
80 39 1 0 defined $args{'prefetch'} and $args{'prefetch'} < 0
654 4 7 0 $is_for_branch and @branch_items
7 1 3 not $is_for_branch and @self_items
670 0 3 3 $is_for_branch and not $is_branch_item
3 0 0 not $is_for_branch and $is_branch_item
1036 2 0 2 not $item_requested and @requests_queue
1049 6 4 0 not $item_requested and @requests_queue

or 2 conditions

line l !l condition
88 1 39 $args{'prefetch'} // 0
137 1 0 shift() // 0
208 1 2 shift() // 'sync'
270 2 2 shift() // 'sync'

or 3 conditions

line l !l&&r !l&&!r condition
487 2 1 2 ref $cut ne 'CODE' or ref $comporator ne 'CODE'
827 1 0 8 ref $return_cb ne 'CODE' or ref $code ne 'CODE'
1007 11 2 46 $args{'prefetch'} // $self->{'_prefetch'}