Branch Coverage

blib/lib/App/Sqitch/Engine/snowflake.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
25 3 12 unless $self->target->name =~ /:/
29 1 11 if $uri->password
115 5 1 unless $ENV{'SNOWSQL_USER'} or $_[0]->_snowcfg->{'username'}
118 3 1 unless $ENV{'SNOWSQL_PWD'}
127 5 1 unless my $region = $ENV{'SNOWSQL_REGION'} || $_[0]->_snowcfg->{'region'}
148 2 7 if (my $host = $uri->host)
149 1 1 if $host =~ /\.snowflakecomputing\.com$/
153 1 6 if $ENV{'SNOWSQL_HOST'}
301 0 0 if $self->initialized
340 0 1 $offset ? :
350 0 1 if $self->_no_table_error and not $self->initialized
406 2 4 if $off
407 2 2 if $lim
429 0 1 unless $self->sqitch->verbosity > 1
441 3 1 unless my $pass = $self->password
453 1 1 unless my $pass = $self->password
462 1 1 unless my $pass = $self->password
472 2 1 unless my $pass = $self->password