| line |
true |
false |
branch |
|
46
|
0 |
0 |
unless my $log = $self->error_log |
|
47
|
0 |
0 |
unless -f $log |
|
48
|
0 |
0 |
unless open my $fh, "<", $log |
|
56
|
0 |
0 |
unless $file and -f $file |
|
57
|
0 |
0 |
unless open my $fh, "<", $file |
|
89
|
0 |
0 |
unless $ok |
|
100
|
0 |
0 |
unless defined $ENV{$var} |
|
106
|
0 |
0 |
unless defined $old{$var} |
|
120
|
0 |
0 |
if (defined $val) { } |
|
143
|
0 |
0 |
unless $self->{'dir'} |
|
148
|
0 |
0 |
unless defined $self->{'username'} |
|
149
|
0 |
0 |
unless defined $self->{'password'} |
|
177
|
0 |
0 |
unless my $from = $self->{'cloned_from'} |
|
180
|
0 |
0 |
if $started |
|
182
|
0 |
0 |
($self->{'verbose'} // 0) > 2 ? : |
|
186
|
0 |
0 |
if $started |
|
193
|
0 |
0 |
if $self->started |
|
197
|
0 |
0 |
$ENV{'QDB_TMPDIR'} ? : |
|
199
|
0 |
0 |
($self->{'verbose'} // 0) > 2 ? : |
|
208
|
0 |
0 |
if @bad |
|
224
|
0 |
0 |
if $clone->{'autostart'} |
|
231
|
0 |
0 |
if $self->no_log(@_) |
|
249
|
0 |
0 |
unless defined $pid |
|
251
|
0 |
0 |
if ($pid) |
|
253
|
0 |
0 |
if $params->{'no_wait'} |
|
256
|
0 |
0 |
unless $ret == $pid |
|
258
|
0 |
0 |
unless $exit |
|
261
|
0 |
0 |
unless ($no_log) |
|
262
|
0 |
0 |
unless open my $fh, "<", $log_file |
|
266
|
0 |
0 |
if length $error_log |
|
272
|
0 |
0 |
unless ($no_log) |
|
273
|
0 |
0 |
unless open my $log, ">", $log_file |
|
280
|
0 |
0 |
if (my $file = $params->{'stdin'}) |
|
282
|
0 |
0 |
unless open STDIN, "<", $file |
|
300
|
0 |
0 |
if -d $self->{'dir'} |
|
308
|
0 |
0 |
unless @_ > 1 |
|
326
|
0 |
0 |
if $self->{'watcher'} or -S $socket |
|
337
|
0 |
0 |
if $self->{'watcher'} or -S $socket |
|
349
|
0 |
0 |
if ($waited > $timeout) |
|
359
|
0 |
0 |
$spid && kill(0, $spid) ? : |
|
366
|
0 |
0 |
if length $launch_log |
|
367
|
0 |
0 |
if length $error_log |
|
381
|
0 |
0 |
unless my $watcher = delete $self->{'watcher'} |
|
396
|
0 |
0 |
if $driver_handle->{'Type'} and $driver_handle->{'Type'} eq "db" and $driver_handle->{'Name'} and index($driver_handle->{'Name'}, $self->{'dir'}) != -1 |
|
404
|
0 |
0 |
unless ($params{'no_wait'}) |
|
416
|
0 |
0 |
if $socket and -S $socket |
|
430
|
0 |
0 |
unless $self->{'root_pid'} and $self->{'root_pid'} == $$ |
|
432
|
0 |
0 |
if (my $watcher = delete $self->{'watcher'}) { } |
|
|
0 |
0 |
elsif ($self->should_cleanup) { } |
|
441
|
0 |
0 |
if $driver_handle->{'Type'} and $driver_handle->{'Type'} eq "db" and $driver_handle->{'Name'} and index($driver_handle->{'Name'}, $self->{'dir'}) != -1 |
|
445
|
0 |
0 |
if $INC{'DBI.pm'} |
|
454
|
0 |
0 |
if $self->should_cleanup |
|
466
|
0 |
0 |
unless defined $db_name |
|
473
|
0 |
0 |
unless $self->{'root_pid'} and $self->{'root_pid'} == $$ |
|
480
|
0 |
0 |
if $self->{'fast_destroy'} and $self->{'_cleanup'} |
|
482
|
0 |
0 |
if (my $watcher = delete $self->{'watcher'}) { } |
|
|
0 |
0 |
elsif ($self->should_cleanup) { } |
|
493
|
0 |
0 |
if $self->should_cleanup |