Branch Coverage

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


line true false branch
60 0 0 unless $ok
71 0 0 unless defined $ENV{$var}
77 0 0 unless defined $old{$var}
91 0 0 if (defined $val) { }
114 0 0 unless $self->{'dir'}
119 0 0 unless defined $self->{'username'}
120 0 0 unless defined $self->{'password'}
146 0 0 unless my $from = $self->{'cloned_from'}
149 0 0 if $started
151 0 0 ($self->{'verbose'} // 0) > 2 ? :
155 0 0 if $started
162 0 0 if $self->started
166 0 0 $ENV{'QDB_TMPDIR'} ? :
168 0 0 ($self->{'verbose'} // 0) > 2 ? :
177 0 0 if @bad
193 0 0 if $clone->{'autostart'}
200 0 0 if $self->no_log(@_)
218 0 0 unless defined $pid
220 0 0 if ($pid)
222 0 0 if $params->{'no_wait'}
225 0 0 unless $ret == $pid
227 0 0 unless $exit
230 0 0 unless ($no_log)
231 0 0 unless open my $fh, "<", $log_file
239 0 0 unless ($no_log)
240 0 0 unless open my $log, ">", $log_file
247 0 0 if (my $file = $params->{'stdin'})
249 0 0 unless open STDIN, "<", $file
262 0 0 if -d $self->{'dir'}
270 0 0 unless @_ > 1
288 0 0 if $self->{'watcher'} or -S $socket
299 0 0 if $self->{'watcher'} or -S $socket
307 0 0 if ($waited > 10)
323 0 0 unless my $watcher = delete $self->{'watcher'}
331 0 0 if $driver_handle->{'Type'} and $driver_handle->{'Type'} eq "db" and $driver_handle->{'Name'} and index($driver_handle->{'Name'}, $self->{'dir'}) != -1
340 0 0 unless ($params{'no_wait'})
346 0 0 if ($waited > 10)
361 0 0 unless defined $db_name
368 0 0 unless $self->{'root_pid'} and $self->{'root_pid'} == $$
370 0 0 if (my $watcher = delete $self->{'watcher'}) { }
0 0 elsif ($self->should_cleanup) { }