| blib/lib/RxPerl/Operators/Creation.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 27 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 149 | 0 | 2 | 2 | !builtin::blessed($sources) && builtin::reftype($sources) eq 'ARRAY' |
| 150 | 0 | 2 | 2 | !builtin::blessed($sources) && builtin::reftype($sources) eq 'HASH' |
| 216 | 2 | 5 | 1 | builtin::blessed($thing) and $thing->isa("RxPerl::Observable") |
| 2 | 5 | 0 | builtin::blessed($thing) and $thing->isa("Future") | |
| 2 | 0 | 5 | builtin::blessed($thing) and $thing->can("then") | |
| 1 | 0 | 1 | ref $thing eq "ARRAY" and not builtin::blessed($thing) | |
| 0 | 0 | 1 | defined $thing and not length ref $thing |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 152 | 2 | 2 | 0 | $arg_is_array or $arg_is_hash |
| 405 | 207 | 5 | 0 | $num_active_subscriptions or $subscriber->{'complete'}->() |