Branch Coverage

blib/lib/DBIx/QuickDB/Driver.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
45 0 0 unless my $log = $self->error_log
46 0 0 unless -f $log
47 0 0 unless open my $fh, "<", $log
70 0 0 unless $ok
81 0 0 unless defined $ENV{$var}
87 0 0 unless defined $old{$var}
101 0 0 if (defined $val) { }
124 0 0 unless $self->{'dir'}
129 0 0 unless defined $self->{'username'}
130 0 0 unless defined $self->{'password'}
156 0 0 unless my $from = $self->{'cloned_from'}
159 0 0 if $started
161 0 0 ($self->{'verbose'} // 0) > 2 ? :
165 0 0 if $started
172 0 0 if $self->started
176 0 0 $ENV{'QDB_TMPDIR'} ? :
178 0 0 ($self->{'verbose'} // 0) > 2 ? :
187 0 0 if @bad
203 0 0 if $clone->{'autostart'}
210 0 0 if $self->no_log(@_)
228 0 0 unless defined $pid
230 0 0 if ($pid)
232 0 0 if $params->{'no_wait'}
235 0 0 unless $ret == $pid
237 0 0 unless $exit
240 0 0 unless ($no_log)
241 0 0 unless open my $fh, "<", $log_file
245 0 0 if length $error_log
251 0 0 unless ($no_log)
252 0 0 unless open my $log, ">", $log_file
259 0 0 if (my $file = $params->{'stdin'})
261 0 0 unless open STDIN, "<", $file
274 0 0 if -d $self->{'dir'}
282 0 0 unless @_ > 1
300 0 0 if $self->{'watcher'} or -S $socket
311 0 0 if $self->{'watcher'} or -S $socket
319 0 0 if ($waited > 10)
336 0 0 unless my $watcher = delete $self->{'watcher'}
344 0 0 if $driver_handle->{'Type'} and $driver_handle->{'Type'} eq "db" and $driver_handle->{'Name'} and index($driver_handle->{'Name'}, $self->{'dir'}) != -1
353 0 0 unless ($params{'no_wait'})
359 0 0 if ($waited > 10)
374 0 0 unless defined $db_name
381 0 0 unless $self->{'root_pid'} and $self->{'root_pid'} == $$
383 0 0 if (my $watcher = delete $self->{'watcher'}) { }
0 0 elsif ($self->should_cleanup) { }