Branch Coverage

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


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'}
238 8 6 if $ident =~ /^[_a-zA-Z][_a-zA-Z0-9\$]*$/
239 0 6 if $ident =~ /^"/ and $ident =~ /"$/
309 0 0 if $self->initialized
355 0 1 $offset ? :
365 0 1 if $self->_no_table_error and not $self->initialized
421 2 4 if $off
422 2 2 if $lim
444 0 1 unless $self->sqitch->verbosity > 1
456 3 1 unless my $pass = $self->password
468 1 1 unless my $pass = $self->password
477 1 1 unless my $pass = $self->password
487 2 1 unless my $pass = $self->password