Branch Coverage

blib/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
Criterion Covered Total %
branch 0 76 0.0


line true false branch
93 0 0 if $self->_server_info->{'normalized_dbms_version'} >= 8.001
106 0 0 if (not exists $sqltargs->{'producer_args'}{'oracle_version'} and my $dver = $self->_server_info->{'dbms_version'})
133 0 0 $_ ? :
136 0 0 if (ref $source->name eq 'SCALAR') { }
141 0 0 unless $source_name =~ /\"/
145 0 0 unless $ql
149 0 0 if $dbh->{'LongReadLen'} < 65536
188 0 0 @seqs ? :
196 0 0 if (@triggers == 1) { }
0 0 elsif (@triggers > 1) { }
198 0 0 if (@{$triggers[0]{'sequences'};} == 1) { }
220 0 0 if (@candidates == 1 and @{$candidates[0]{'sequences'};} == 1) { }
235 0 0 if ($chosen_trigger)
238 0 0 unless $seq_name =~ /\./
241 0 0 if $seq_name =~ /\"/
258 0 0 ref $seq ? :
270 0 0 unless my $dbh = $self->_dbh
279 0 0 &dbic_internal_try(sub { $dbh->do('select 1 from dual'); 1; } ) ? :
290 0 0 if grep {($_->[0]{'_ora_lob_autosplit_part'} || 0) > __cache_queries_with_max_lob_parts(-1);} @$bind
298 0 0 if $self->transaction_depth
304 0 0 if $self->{'_in_do_block'}
312 0 0 if ($_[0]->failed_attempt_count == 1 and $_[0]->last_exception =~ /ORA-01003/ and my $dbh = $_[0]->storage->_dbh) { }
334 0 0 unless &modver_gt_or_eq('DBD::Oracle', '1.28')
445 0 0 if ($self->_is_lob_type($dt)) { }
448 0 0 if &modver_gt_or_eq_and_lt('DBD::Oracle', '1.23', '1.24')
454 0 0 $self->_is_text_lob_type($dt) ? :
502 0 0 if $op eq 'insert'
512 0 0 $bind->[$_][0]{'sqlt_datatype'} && $self->_is_lob_type($bind->[$_][0]{'sqlt_datatype'}) ? :
515 0 0 unless %$lob_bind_indices
518 0 0 if ($op eq 'update') { }
0 0 elsif ($op ne 'select' and $op ne 'delete') { }
519 0 0 if $sql =~ /\bWHERE\b .+ \bWHERE\b/sx
525 0 0 if (my $set_bind_count = $final_sql =~ tr/?//)
530 0 0 unless %$lob_bind_indices
554 0 0 if ($lob_bind_indices->{$b_idx} and my($col, $eq) = $sql_parts[0] =~ /$col_equality_re/) { }
561 0 0 if ref $data
596 0 0 $lob_bind_indices->{$b_idx} ? :
605 0 0 if (@sql_parts > 1)