Branch Coverage

blib/lib/Ryu/Node.pm
Criterion Covered Total %
branch 32 38 84.2


line true false branch
46 167 318 $self->parent ? :
67 126 0 if $self->can('cleanup')
70 126 0 if $self->can('prepare_await')
86 18 0 unless ($was_paused)
87 8 10 if $self->{'unblocked'} and $self->{'unblocked'}->is_ready
90 10 8 if (my $parent = $self->parent)
91 7 3 if $self->{'pause_propagation'}
93 4 14 if (my $flow_control = $self->{'flow_control'})
94 4 0 unless $was_paused
108 22 0 unless --$self->{'is_paused'}{$k} > 0
109 22 0 unless ($self->{'is_paused'} and keys %{$$self{'is_paused'};})
111 2 20 unless $f->is_ready
112 12 10 if (my $parent = $self->parent)
113 9 3 if $self->{'pause_propagation'}
115 4 18 if (my $flow_control = $self->{'flow_control'})
142 2 22 $self->is_paused ? :
156 24 56 keys %{$$self{'is_paused'};} ? :
80 15 unless defined $obj
159 6 9 exists $self->{'is_paused'}{$k} ? :