Branch Coverage

blib/lib/Net/Async/MCP/Transport/Stdio.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
16 0 1 unless $self->{'command'} = delete $params->{'command'}
27 0 1 if (exists $params{'command'})
69 0 10 if ($self->{'closed'})
74 8 2 defined $params ? :
93 0 1 if ($self->{'closed'})
97 0 1 defined $params ? :
112 0 1 if $self->{'closed'}
116 1 0 if ($self->{'process'} and $self->{'process'}->is_running)
135 0 10 if $line eq ""
138 0 10 unless $response and ref $response eq "HASH"
141 0 10 unless defined $id
144 0 10 unless $future
146 0 10 if (my $err = $response->{'error'}) { }
161 0 0 if $future and not $future->is_ready
165 1 0 if ($self->{'close_future'} and not $self->{'close_future'}->is_ready)