Branch Coverage

blib/lib/App/Sqitch/Engine/mysql.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
48 1 3 if ($uri->password)
64 4 0 unless $_[0]->_mycnf->{'user'}
65 5 1 unless $ENV{'MYSQL_PWD'}
249 0 0 $_ eq 'change' ? :
280 0 0 if $self->initialized
319 0 0 unless $self->initialized
367 1 1 if $self->_fractional_seconds
388 12 5 unless my(%vars) = (shift())->variables
405 5 1 unless my $pass = $self->password
413 3 1 unless my $pass = $self->password
422 2 3 if (my $set = $self->_set_vars)
426 3 2 unless my $pass = $self->password
439 2 2 $self->sqitch->verbosity > 1 ? :
447 1 2 if $self->_fractional_seconds
455 1 1 if $self->dbh->{'mysql_serverversion'} < 50500
473 0 1 $offset ? :
485 0 0 if $DBI::err and $DBI::err == 1049 || $DBI::err == 1146