blib/lib/Mojo/Run3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 50 | 56.0 |
line | l | !l | condition |
---|---|---|---|
15 | 10 | 0 | $ENV{'MOJO_RUN3_DEBUG'} && 1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
42 | 0 | 70 | 70 | $fh->{$sibling} and $fh->{$sibling} eq $handle |
76 | 5 | 0 | 5 | ref $_[-1] eq 'CODE' && pop() |
196 | 1 | 0 | 1 | $pty and $options->{'make_slave_controlling_terminal'} // 1 |
line | l | !l | condition |
---|---|---|---|
28 | 3 | 1 | $self->{'buffer'}{$name} // "" |
66 | 13 | 2 | +(shift())->{'pid'} // -1 |
67 | 38 | 45 | +(shift())->{'status'} // -1 |
111 | 0 | 0 | $self->{'pid'} // 0 |
165 | 1 | 0 | $real->close || die("Couldn't close ${conduit}: $!") |
167 | 5 | 0 | open($real, $conduit eq 'stdin' ? '<&=' : '>&=', fileno $virtual) || die("Couldn't dup ${conduit}: $!") |
179 | 71 | 27 | $options->{$conduit} // "close" |
196 | 0 | 1 | $options->{'make_slave_controlling_terminal'} // 1 |
207 | 0 | 0 | $! || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
156 | 2 | 1 | 11 | $! == 11 or $! == 4 |
3 | 0 | 11 | $! == 11 or $! == 4 or $! == 11 | |
157 | 1 | 1 | 9 | $! == 104 or $! == 32 |
181 | 2 | 9 | 0 | $pty ||= "IO::Pty"->new |
254 | 0 | 0 | 0 | $! == 11 or $! == 4 |
0 | 0 | 0 | $! == 11 or $! == 4 or $! == 11 | |
255 | 0 | 0 | 0 | $! == 104 or $! == 32 |