Branch Coverage

blib/lib/DBIx/QuickDB/Driver/MySQL.pm
Criterion Covered Total %
branch 6 90 6.6


line true false branch
45 97 23 if $PROVIDER_CACHE{$class}
51 0 30 if (my $mysqld = can_run($bin))
52 0 0 if $this->verify_provider($mysqld)
53 0 0 if $found{'server_bin'}
57 23 0 unless $found{'server_bin'}
60 0 0 if (my $mysql = can_run($bin))
66 0 0 unless $found{'client_bin'}
69 0 0 if (my $install = can_run($bin))
72 0 0 unless ($output =~ /is deprecated/)
75 0 0 if $found{'install_bin'}
89 0 0 if $ok
93 0 0 if $ok
97 0 0 if $ok
114 0 7 if $ok1 or $ok2 or $ok3
122 0 0 if ($class eq __PACKAGE__)
123 0 0 unless my $real_class = $class->choose
127 0 0 @_ == 1 ? :
141 0 0 unless my $type = builtin::reftype($arg)
142 0 0 unless $type eq "HASH"
145 0 0 if (builtin::blessed($arg) and $arg->can("server_bin"))
146 0 0 if $binary = $arg->server_bin
150 0 0 if $binary = $arg->{$l}
153 0 0 if $binary
156 0 0 unless ($binary)
157 0 0 if ($class_or_self eq __PACKAGE__) { }
158 0 0 if (my $sel = $class_or_self->choose)
167 0 0 unless $binary
178 0 0 if builtin::blessed($in) and $in->{'dbd_driver'}
184 80 0 unless eval { do { require $file; 1 } }
186 0 0 if builtin::blessed($in)
274 0 0 defined $ENV{'QDB_MYSQL_SSL_FIPS'} ? :
299 0 0 unless $self->{'config'}
303 0 0 if (defined $cfg->{$key}) { }
309 0 0 if defined $subcfg->{$skey}
340 0 0 unless open my $cfh, ">", $cfg_file
345 0 0 unless my $sconf = $conf->{$section}
347 0 0 if $override->{'add'}
352 0 0 unless defined $val
354 0 0 if $override->{'skip'} and $key =~ /$override->{'skip'}/ || $val =~ /$override->{'skip'}/
356 0 0 if (length $val) { }
377 0 0 unless mkdir $data_dir
378 0 0 unless mkdir $temp_dir
381 0 0 unless open my $init, ">", $init_file
423 0 0 unless defined $db_name
427 0 0 if ($self->dbd_driver eq 'DBD::MariaDB') { }