Branch Coverage

blib/lib/DBIx/Class/Storage/DBI/Pg.pm
Criterion Covered Total %
branch 3 38 7.8


line true false branch
20 0 0 +(shift())->_server_info->{'normalized_dbms_version'} >= 8.002 ? :
49 0 0 unless my $seq = ($col_info->{$col}{'sequence'} ||= $self->dbh_do('_dbh_get_autoinc_seq', $source, $col))
65 0 0 unless $sequence
67 0 0 ref $sequence eq 'SCALAR' ? :
81 0 0 if ref $table eq 'SCALAR'
85 0 0 if ($table =~ /^(.+)\.(.+)$/)
94 0 0 unless (defined $seq_expr and $seq_expr =~ /^nextval\(+'([^']+)'::(?:text|regclass)\)/i)
95 0 0 unless defined $seq_expr
96 0 0 if defined $schema and length $schema
97 0 0 $schema ? :
134 0 0 defined $schema && length $schema ? :
175 1 1 $_[2] ? :
2 0 if ($_[1] || '') =~ /\Abool(?:ean)?\z/i
184 0 0 if ($self->_is_binary_lob_type($data_type)) { }
191 0 0 unless ($DBD::Pg::__DBIC_DBD_VERSION_CHECK_DONE__)
192 0 0 if ($self->_server_info->{'normalized_dbms_version'} >= 9) { }
0 0 elsif (not &try(sub { 'DBD::Pg'->VERSION('2.9.2'); 1; } )) { }
193 0 0 unless &try(sub { 'DBD::Pg'->VERSION('2.17.2'); 1; } )
235 0 0 if (not exists $sqltargs->{'producer_args'}{'postgres_version'} and my $dver = $self->_server_info->{'normalized_dbms_version'})