| blib/lib/Proc/SyncExec.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 23 | 43.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 124 | 0 | 15 | 5 | @_ && ref $_[0] eq 'CODE' |
| 136 | 0 | 3 | 2 | $ok and $code |
| 138 | 0 | 5 | 0 | $ok and exec @cmd |
| 201 | 0 | 0 | 2 | close $fh_parent and open $fh_dup_to, $fh_dup_type . fileno($fh_child) |
| line | l | !l | condition |
|---|---|---|---|
| 161 | 11 | 0 | $buf + 0 || 4 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 82 | 27 | 0 | 0 | not defined $max_retries or $max_retries < 0 |
| 83 | 27 | 0 | 0 | not defined $sleep or $sleep < 0 |
| 251 | 0 | 5 | 0 | @_ == 1 or @_ == 2 |