Condition Coverage

blib/lib/Async/Stream.pm
Criterion Covered Total %
condition 25 34 73.5


and 3 conditions

line !l l&&!r l&&r condition
80 40 1 0 defined $args{'prefetch'} and $args{'prefetch'} < 0
881 4 7 0 $is_truth_branch and @truth_items
7 1 3 not $is_truth_branch and @false_items
897 0 3 3 $is_truth_branch and not $is_truth
3 0 0 not $is_truth_branch and $is_truth
1035 2 0 2 not $item_requested and @requests_queue
1048 6 4 0 not $item_requested and @requests_queue

or 2 conditions

line l !l condition
88 1 40 $args{'prefetch'} // 0
137 1 0 shift() // 0

or 3 conditions

line l !l&&r !l&&!r condition
397 1 0 8 ref $return_cb ne 'CODE' or ref $code ne 'CODE'
720 2 1 2 ref $cut ne 'CODE' or ref $comporator ne 'CODE'
1006 11 2 44 $args{'prefetch'} // $self->{'_prefetch'}