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'}
251 0 0 $_ eq 'change' ? :
282 0 0 if $self->initialized
332 0 0 unless $self->initialized
380 1 1 if $self->_fractional_seconds
401 12 5 unless my(%vars) = (shift())->variables
418 5 1 unless my $pass = $self->password
426 3 1 unless my $pass = $self->password
435 2 3 if (my $set = $self->_set_vars)
439 3 2 unless my $pass = $self->password
452 2 2 $self->sqitch->verbosity > 1 ? :
460 1 2 if $self->_fractional_seconds
468 1 1 if $self->dbh->{'mysql_serverversion'} < 50500
486 0 1 $offset ? :
498 0 0 if $DBI::err and $DBI::err == 1049 || $DBI::err == 1146