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'}
242 0 0 $_ eq 'change' ? :
273 0 0 if $self->initialized
323 0 0 unless $self->initialized
375 1 1 if $self->_fractional_seconds
396 12 5 unless my(%vars) = (shift())->variables
413 5 1 unless my $pass = $self->password
421 3 1 unless my $pass = $self->password
430 2 3 if (my $set = $self->_set_vars)
434 3 2 unless my $pass = $self->password
447 2 2 $self->sqitch->verbosity > 1 ? :
455 1 2 if $self->_fractional_seconds
463 1 1 if $self->dbh->{'mysql_serverversion'} < 50500
481 0 1 $offset ? :
493 0 0 if $DBI::err and $DBI::err == 1049 || $DBI::err == 1146