Condition Coverage

blib/lib/Ryu/Observable.pm
Criterion Covered Total %
condition 3 9 33.3


and 3 conditions

line !l l&&!r l&&r condition
162 0 0 0 defined $prev and $prev == $v
181 0 1 0 defined $prev and $prev eq $v

or 3 conditions

line l !l&&r !l&&!r condition
195 1 1 0 $self->{'source'} //= do { my $src = 'Ryu::Source'->new; &Scalar::Util::weaken(my $copy = $self); $src->completed->on_ready(sub { delete $copy->{'source'} if $copy; } ); $src }