Branch Coverage

blib/lib/Ryu/Node.pm
Criterion Covered Total %
branch 43 54 79.6


line true false branch
47 420 764 $self->parent ? :
1184 0 $completed ? :
58 0 42 unless my $completion = $self->_completed
64 0 39 if ($expected ne $actual)
73 3062 223 if $self->{'completed'}
77 223 0 if $self->can("cleanup")
91 19 36 defined $src && ref $src ? :
96 6 49 if ($self->{'unblocked'} and $self->{'unblocked'}->is_ready)
100 37 18 if (my $parent = $self->parent)
101 17 20 if $self->{'pause_propagation'}
103 21 34 if (my $flow_control = $self->{'flow_control'})
104 21 0 unless $was_paused
117 21 38 defined $src && ref $src ? :
120 59 0 unless --$self->{'is_paused'}{$k} > 0
121 0 59 if $self->{'is_paused'} and keys %{$$self{"is_paused"};}
123 2 57 if (my $f = $self->{'unblocked'})
124 2 0 unless $f->is_ready
126 39 20 if (my $parent = $self->parent)
127 19 20 if $self->{'pause_propagation'}
129 21 38 if (my $flow_control = $self->{'flow_control'})
156 2 4 $self->is_paused ? :
170 42 94 keys %{$$self{'is_paused'};} ? :
136 138 unless defined $src
171 138 0 defined $src && ref $src ? :
175 6 132 exists $self->{'is_paused'}{$k} ? :
181 0 31 if $self->{'flow_control'}
187 0 29 unless my $fc = delete $self->{'flow_control'}