blib/lib/RxPerl/Operators/Creation.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 33 | 51.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
148 | 0 | 2 | 2 | !&blessed($sources) && &reftype($sources) eq 'ARRAY' |
149 | 0 | 2 | 2 | !&blessed($sources) && &reftype($sources) eq 'HASH' |
215 | 2 | 0 | 1 | &blessed($thing) and $thing->isa("RxPerl::Observable") |
2 | 0 | 0 | &blessed($thing) and $thing->isa("Future") | |
2 | 0 | 0 | &blessed($thing) and $thing->can("then") | |
1 | 0 | 1 | ref $thing eq "ARRAY" and not &blessed($thing) | |
0 | 0 | 1 | defined $thing and not length ref $thing |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
142 | 8 | 1 | 0 | $rx_EMPTY //= rx_observable()->new(sub { ; } ) |
151 | 2 | 2 | 0 | $arg_is_array or $arg_is_hash |
404 | 198 | 5 | 0 | $num_active_subscriptions or $subscriber->{'complete'}->() |
433 | 0 | 0 | 0 | $rx_never //= rx_observable()->new(sub { ; } ) |