Branch Coverage

blib/lib/App/Sqitch/Engine/mysql.pm
Criterion Covered Total %
branch 31 42 73.8


line true false branch
48 1 3 if ($uri->password)
64 4 0 unless $_[0]->_mycnf->{'user'}
65 5 1 unless $ENV{'MYSQL_PWD'}
238 0 0 if ($_ eq 'change') { }
269 0 0 if $self->initialized
321 0 0 unless $self->initialized
373 1 1 if $self->_fractional_seconds
394 12 5 unless my(%vars) = (shift())->variables
411 5 1 unless my $pass = $self->password
419 3 1 unless my $pass = $self->password
428 2 3 if (my $set = $self->_set_vars)
432 3 2 unless my $pass = $self->password
445 2 2 $self->sqitch->verbosity > 1 ? :
453 1 2 if ((my $idx = &firstidx(sub {
472 1 2 if $has_frac
477 2 0 unless ($has_frac)
483 1 1 if $self->dbh->{'mariadb_serverversion'} < 50500
502 1 3 if $self->dbh->{'mariadb_serverversion'} < 50500
516 1 1 if not $DBI::err or $DBI::err != 1419
531 0 1 $offset ? :
543 0 0 if $DBI::err and $DBI::err == 1049 || $DBI::err == 1146