Branch Coverage

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


line true false branch
59 0 0 unless $ok
70 0 0 unless defined $ENV{$var}
76 0 0 unless defined $old{$var}
90 0 0 if (defined $val) { }
113 0 0 unless $self->{'dir'}
118 0 0 unless defined $self->{'username'}
119 0 0 unless defined $self->{'password'}
146 0 0 if $self->started
152 0 0 ($self->{'verbose'} // 0) > 2 ? :
161 0 0 if @bad
175 0 0 if $clone->{'autostart'}
182 0 0 if $self->no_log(@_)
200 0 0 unless defined $pid
202 0 0 if ($pid)
204 0 0 if $params->{'no_wait'}
207 0 0 unless $ret == $pid
209 0 0 unless $exit
212 0 0 unless ($no_log)
213 0 0 unless open my $fh, '<', $log_file
221 0 0 unless ($no_log)
222 0 0 unless open my $log, '>', $log_file
229 0 0 if (my $file = $params->{'stdin'})
231 0 0 unless open STDIN, '<', $file
244 0 0 if -d $self->{'dir'}
252 0 0 unless @_ > 1
270 0 0 if $self->{'watcher'} or -S $socket
281 0 0 if $self->{'watcher'} or -S $socket
289 0 0 if ($waited > 10)
305 0 0 unless my $watcher = delete $self->{'watcher'}
313 0 0 if $driver_handle->{'Type'} and $driver_handle->{'Type'} eq 'db' and $driver_handle->{'Name'} and index($driver_handle->{'Name'}, $self->{'dir'}) >= 0
322 0 0 unless ($params{'no_wait'})
328 0 0 if ($waited > 10)
343 0 0 unless defined $db_name
350 0 0 unless $self->{'root_pid'} and $self->{'root_pid'} == $$
352 0 0 if (my $watcher = delete $self->{'watcher'}) { }
0 0 elsif ($self->should_cleanup) { }