line |
l |
!l |
condition |
206
|
0 |
0 |
$self->log->error('Cant start IO watcher off NULL process') and return |
207
|
0 |
0 |
$self->log->error("[process $$proc{'pid'}]: IO ($io) is unsupported") and return |
208
|
0 |
0 |
$self->log->error("[process $$proc{'pid'}]: IO handler ($io) is EMPTY") and return |
247
|
0 |
0 |
$self->log->debug("[process $pid]: Got HUP for unmanaged handle " . $$proc{"hdr_$io"} . '; ignoring.') and return |
434
|
0 |
0 |
$self->error('Undefined command.') and return |
439
|
0 |
0 |
$self->error('Zero-length command.') and return |
442
|
0 |
0 |
$self->error('Command can be pure scalar, arrayref or coderef.') and return |
446
|
0 |
0 |
$self->error('STDOUT callback defined, but is not code reference.') and return |
449
|
0 |
0 |
$self->error('STDERR callback defined, but is not code reference.') and return |
452
|
0 |
0 |
$self->error('Process exit_cb callback defined, but is not code reference.') and return |
line |
!l |
l&&!r |
l&&r |
condition |
74
|
0 |
0 |
0 |
defined $self and blessed $self |
|
0 |
0 |
0 |
defined $self and blessed $self and $self->isa('Mojo::Run') |
81
|
0 |
0 |
0 |
$self->max_forks > 0 and $self->num_forks >= $self->max_forks |
118
|
0 |
0 |
0 |
defined $$proc{'exec_timeout'} and $$proc{'exec_timeout'} > 0 |
270
|
0 |
0 |
0 |
exists $$self{'_data'}{$pid} and defined $$self{'_data'}{$pid} |
328
|
0 |
0 |
0 |
not $force and $$proc{'running'} || defined $$proc{'hdr_stdout'} || defined $$proc{'hdr_stdres'} || defined $$proc{'hdr_stderr'} |
337
|
0 |
0 |
0 |
$proc and %$proc |
343
|
0 |
0 |
0 |
defined $$proc{'exit_cb'} and ref $$proc{'exit_cb'} eq 'CODE' |
439
|
0 |
0 |
0 |
$cmd_ref eq '' and length $$s{'cmd'} == 0 |
442
|
0 |
0 |
0 |
$cmd_ref ne '' and not $cmd_ref ~~ ['CODE', 'ARRAY'] |
446
|
0 |
0 |
0 |
defined $$s{'stdout_cb'} and ref $$s{'stdout_cb'} ne 'CODE' |
449
|
0 |
0 |
0 |
defined $$s{'stderr_cb'} and ref $$s{'stderr_cb'} ne 'CODE' |
452
|
0 |
0 |
0 |
defined $$s{'exit_cb'} and ref $$s{'exit_cb'} ne 'CODE' |