Branch Coverage

blib/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm
Criterion Covered Total %
branch 2 140 1.4


line true false branch
76 0 0 if ($self->_using_freetds) { }
0 0 elsif (not $self->_get_dbh->{'syb_dynamic_supported'}) { }
0 0 elsif (not $self->_use_typeless_placeholders) { }
77 0 0 unless $ENV{'DBIC_SYBASE_FREETDS_NOWARN'}
95 0 0 if (not $self->_use_typeless_placeholders)
96 0 0 if ($self->_use_placeholders) { }
124 0 0 if ($self->_using_freetds and (my $ver = $self->_using_freetds_version || 999) > 0.82)
136 0 0 if $self->_parent_storage
148 0 0 if ref $self->_dbi_connect_info->[0] eq 'CODE'
170 0 2 if $self->_writer_storage
171 0 2 if $self->_bulk_storage
196 0 0 $on ? :
208 0 0 if ($self->_is_bulk_storage)
214 0 0 unless $self->_using_freetds
261 0 0 if ($op eq 'select' and not $args->[4] and $limit = $args->[3])
269 0 0 if $limit
275 0 0 if (my $identity_col = $self->_perform_autoinc_retrieval)
325 0 0 if $self->_perform_autoinc_retrieval
328 0 0 wantarray ? :
345 0 0 unless defined $identity_col
349 0 0 exists $to_insert->{$identity_col} ? :
356 0 0 $self->{'_autoinc_supplied_for_op'} ? :
363 0 0 unless (%$to_insert)
368 0 0 if $col eq $identity_col
382 0 0 if ref $info->{'default_value'} eq 'SCALAR' or exists $info->{'data_type'} and not defined $info->{'data_type'} or ($info->{'data_type'} || '') =~ /^timestamp\z/i
395 0 0 if (not $self->transaction_depth and $blob_cols || $self->_perform_autoinc_retrieval && ($self->_identity_method || '') ne '@@IDENTITY')
415 0 0 $identity_col ? :
0 0 if $blob_cols
428 0 0 if $guard
440 0 0 if (my $blob_cols = $self->_remove_blob_cols($source, $fields)) { }
462 0 0 if (keys %$fields) { }
511 0 0 if (not $use_bulk_api and ref $self->_dbi_connect_info->[0] eq 'CODE')
518 0 0 unless ($use_bulk_api)
523 0 0 $self->transaction_depth ? :
530 0 0 if ($blob_cols)
531 0 0 if ($self->_autoinc_supplied_for_op) { }
554 0 0 if $guard
569 0 0 defined $identity_idx ? :
577 0 0 exists $orig_order{$_} ? :
598 0 0 if $errno == 36
600 0 0 $errmsg ? :
0 0 $osmsg ? :
0 0 $blkmsg ? :
633 0 0 $self->_autoinc_supplied_for_op ? :
665 0 0 if ($exception =~ /-Y option/) { }
0 0 elsif ($exception) { }
669 0 0 if $self->debug
691 0 0 if ($self->_is_lob_column($source, $col))
693 0 0 if (not defined $blob_val) { }
698 0 0 if length $blob_val
704 0 0 %blob_cols ? :
716 0 0 if ($self->_is_lob_column($source, $col))
719 0 0 if (not defined $blob_val) { }
724 0 0 if length $blob_val
731 0 0 @blob_cols ? :
747 0 0 if (ref $where eq 'HASH' and not grep({not defined $where->{$_};} @primary_cols)) { }
780 0 0 if grep {not defined $row_data->{$_};} @primary_cols
785 0 0 if $self->_perform_autoinc_retrieval
796 0 0 unless ($sth)
807 0 0 if $wsth
811 0 0 unless $sth->func('CS_GET', 1, 'ct_data_info')
814 0 0 unless $sth->func('ct_prepare_send')
817 0 0 unless defined $log_on_update
819 0 0 unless $sth->func('CS_SET', 1, {'total_txtlen', length $blob, 'log_on_update', $log_on_update}, 'ct_data_info')
824 0 0 unless $sth->func($blob, length $blob, 'ct_send_data')
826 0 0 unless $sth->func('ct_finish_send')
829 0 0 if ($self->_using_freetds) { }
852 0 0 if (exists $blob_cols->[$i][$j])
908 0 0 if $self->_is_bulk_storage and $self->_dbh and $self->_began_bulk_work
912 0 0 if $self->_is_bulk_storage