Branch Coverage

blib/lib/Mojo/IOLoop/Subprocess.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
31 0 0 $err ? :
42 0 0 if $Mojo::IOLoop::Subprocess::Config{'d_pseudofork'}
45 0 0 unless pipe my $reader, $self->{'writer'}
49 0 0 unless defined(my $pid = $self->{'pid'} = fork)
50 0 0 unless ($pid)
51 0 0 unless eval { do { $self->ioloop->reset({"freeze", 1}); my $results = eval { do { [$self->$child] } } // []; print {$self->{'writer'};} "0-", $self->serialize->([$@, @$results]); $self->emit("cleanup") } }
71 0 0 unless $len and length $buffer >= $len + $+[0]
80 0 0 unless $$ == $me