Branch Coverage

blib/lib/App/Sqitch/Engine/vertica.pm
Criterion Covered Total %
branch 22 44 50.0


line true false branch
27 0 13 if not $self->target->name =~ /:/ or $self->target->uri->dbname
32 0 13 if $uri->password
38 7 1 unless $ENV{'VSQL_USER'}
76 1 2 if not $uri->dbname and $ENV{'VSQL_DATABASE'}
77 0 3 if not $uri->host and $ENV{'VSQL_HOST'}
78 0 3 if not $uri->_port and $ENV{'VSQL_PORT'}
136 0 0 if $self->initialized
237 0 0 $with_hash ? :
261 0 1 if $self->_no_table_error and not $self->initialized
262 0 1 if $self->_no_column_error
264 0 0 unless my $state = &try(sub {
282 0 0 if ($res->{'id'} eq $last_id) { }
339 0 0 $offset > 0 ? :
347 0 0 unless $offset
367 0 0 unless $offset
420 1 1 $self->sqitch->verbosity > 1 ? :
432 0 1 $offset ? :
442 0 1 if $self->_no_table_error and not $self->initialized
485 3 1 unless my $pass = $self->password
493 2 1 unless my $pass = $self->password
501 1 1 unless my $pass = $self->password
510 2 1 unless my $pass = $self->password