Branch Coverage

lib/Git/Background/Future.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
44 3 25 unless defined $run
63 2 23 unless ($ok)
69 2 23 unless $ok
73 1 22 unless $stdout_fh->seek(0, 0)
78 1 21 if $stdout_fh->error
82 1 20 unless $stderr_fh->seek(0, 0)
87 1 19 if $stderr_fh->error
99 1 18 if $run->{'_proc'}->exit_signal
101 6 1 if ($exit_code == 128 or $exit_code == 129 or $exit_code and $run->{'_fatal'})
114 6 2 length $stderr ? :
173 0 57 if (defined $run and not $run->{'_proc'}->alive)