Branch Coverage

blib/lib/App/Sqitch/Engine/snowflake.pm
Criterion Covered Total %
branch 34 40 85.0


line true false branch
25 3 13 unless $self->target->name =~ /:/
29 2 11 if $uri->password
114 5 1 unless $ENV{'SNOWSQL_USER'} or $_[0]->_snowcfg->{'username'}
117 3 1 unless $ENV{'SNOWSQL_PWD'}
126 6 1 unless my $region = $ENV{'SNOWSQL_REGION'} || $_[0]->_snowcfg->{'region'}
147 2 8 if (my $host = $uri->host)
148 1 1 if $host =~ /\.snowflakecomputing\.com$/
152 1 7 if $ENV{'SNOWSQL_HOST'}
297 0 0 if $self->initialized
317 1 1 unless $DBI::state and $DBI::state eq 42501
330 0 1 unless my $in = $file->open("<:raw")
383 0 1 $offset ? :
393 0 1 if $self->_no_table_error and not $self->initialized
449 2 4 if $off
450 2 2 if $lim
472 0 1 unless $self->sqitch->verbosity > 1
484 3 1 unless my $pass = $self->password
496 1 1 unless my $pass = $self->password
505 1 1 unless my $pass = $self->password
515 2 1 unless my $pass = $self->password