Condition Coverage

blib/lib/RxPerl/Operators/Pipeable.pm
Criterion Covered Total %
condition 48 90 53.3


and 3 conditions

line !l l&&!r l&&r condition
119 0 0 2 @buffer and defined $subscriber->{'next'}
407 3 0 4 not $source_emitted and exists $subscriber->{'next'}
453 3 2 723 $completed and not %timers
511 0 2 1 $main_finished and not %mini_subscriptions
608 5 14 17 $have_prev_value && &$comparison_function($prev_value, $value[0])
749 3 0 0 $big_completed and defined $subscriber->{'complete'}
759 0 0 0 not $active_subscription and defined $subscriber->{'complete'}
809 45 0 30 $passes and defined $subscriber->{'next'}
1040 0 0 2 $own_subscriber->{'next'} &&= sub { $subscriber->{'next'}->($mapping_value) if defined $subscriber->{'next'}; }
1113 0 0 3 $$big_completed_ref and not %$small_subscriptions
1172 3 0 0 not %small_subscriptions and defined $subscriber->{'complete'}
1338 2 1 4 (builtin::reftype($cursor) // "") eq "HASH" and exists $cursor->{$key}
1396 0 0 2 $got_first and defined $subscriber->{'next'}
1682 3 0 0 @found > 1 and defined $subscriber->{'error'}
1751 0 0 1 $own_subscriber->{'next'} &&= sub { my($v) = @_; push @skipped, $v; if (@skipped > $skip_count) { my $new_v = shift @skipped; $subscriber->{'next'}->($new_v) if defined $subscriber->{'next'}; } ; }
1766 0 0 6 builtin::blessed($notifier) and $notifier->isa("RxPerl::Observable")
1791 0 21 11 defined $subscriber->{'next'} and $notifier_has_emitted
1835 2 0 4 $should_display and defined $subscriber->{'next'}
1880 0 0 0 $chief_is_complete and defined $subscriber->{'complete'}
1901 1 0 0 $sub_is_complete and defined $subscriber->{'complete'}
1947 155 2 58 --$remaining == 0 and defined $subscriber->{'complete'}
2035 1 0 1 $include and defined $subscriber->{'next'}

or 2 conditions

line l !l condition
592 3 2 $comparison_function //= \&RxPerl::Operators::Pipeable::_eqq
829 4 4 $subscriber->{'_subscription'}{'_finalize_cbs'} //= []
1338 5 2 builtin::reftype($cursor) // ""
1721 0 1 $own_subscriber //= {%$subscriber, "next", sub { if ($count-- <= 0) { $subscriber->{'next'}->(@_) if defined $subscriber->{'next'}; } ; } }
2061 0 0 builtin::reftype($args[0]) // ""
2063 0 0 $tap_subscriber //= {map({$_, shift @args;} "next", "error", "complete")}

or 3 conditions

line l !l&&r !l&&!r condition
146 1 2 0 $start_buffer_every //= $buffer_size
305 0 7 7 not $predicate or &$predicate($v, $idx++)
1155 0 5 25 not defined $concurrent or keys %small_subscriptions < $concurrent
1389 9 0 0 $ok or $subscriber->{'error'}->($@)