| blib/lib/Test/PayProp/API/Public/Emulator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 14 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 71 | 43 | 16 | if (my $pid = $self->pm->start) { } |
| 75 | 0 | 16 | $self->argv_second ? : |
| 93 | 0 | 208 | if waitpid $self->pid, 1 |
| 99 | 0 | 208 | if (tv_interval(\@t) > $timeout) |
| 109 | 43 | 165 | if $sock and $sock->connected |
| 117 | 50 | 0 | if $self->pm |
| 119 | 49 | 1 | if ($self->pid) |