Branch Coverage

blib/lib/Mojo/Rx/Operators/Creation.pm
Criterion Covered Total %
branch 7 42 16.6


line true false branch
28 0 0 unless (@$sources)
29 0 0 if defined $subscriber->{'complete'}
85 0 0 if defined $subscriber->{'complete'}
97 0 0 unless $object->isa('Mojo::EventEmitter')
105 0 0 if defined $subscriber->{'next'}
119 0 0 unless $object->isa('Mojo::EventEmitter')
127 0 0 if defined $subscriber->{'next'}
146 0 0 if defined $subscriber->{'next'}
170 1 0 if defined $subscriber->{'complete'}
182 1 1 if (not --$num_active_subscriptions)
183 1 0 if defined $subscriber->{'complete'}
211 0 9 unless not ${$subscriber->{'closed_ref'};}
212 9 0 if defined $subscriber->{'next'}
214 3 0 if defined $subscriber->{'complete'}
247 0 0 if defined $subscriber->{$type}
268 0 0 if defined $subscriber->{'error'}
284 0 0 if defined $subscriber->{'next'}
285 0 0 if (defined $period) { }
287 0 0 if defined $subscriber->{'next'}
290 0 0 if defined $subscriber->{'complete'}
295 0 0 if defined $id