line |
true |
false |
branch |
26
|
0 |
23 |
unless $self->_is_called_as_class_method |
36
|
0 |
23 |
unless @records |
46
|
2 |
21 |
if ($got_records_as_arrayrefs) |
50
|
0 |
6 |
unless &does($data_row, "ARRAY") |
53
|
0 |
6 |
unless $n_vals == $n_headers |
100
|
4 |
27 |
if ($subrecords) |
102
|
2 |
2 |
if ($want_subhash) |
103
|
0 |
2 |
unless &does($single_result[0], "HASH") |
114
|
6 |
17 |
if wantarray |
115
|
11 |
6 |
unless defined wantarray |
116
|
0 |
6 |
if @results > 1 |
125
|
0 |
31 |
unless my $class = ref $self |
135
|
6 |
25 |
if $wants_consolidated_hash |
144
|
27 |
4 |
if ($should_retrieve_prim_key) |
145
|
0 |
27 |
if ($returning_through eq 'INOUT') { } |
|
0 |
27 |
elsif ($returning_through eq 'FETCH') { } |
162
|
0 |
31 |
if ($options{'-returning'} and not &does($options{'-returning'}, "HASH")) |
168
|
27 |
4 |
if ($should_retrieve_prim_key) |
169
|
0 |
27 |
if ($returning_through eq 'INOUT') { } |
|
0 |
27 |
elsif ($returning_through eq 'FETCH') { } |
177
|
0 |
27 |
if $n_columns > 1 |
186
|
6 |
25 |
if ($wants_consolidated_hash) { } |
|
0 |
25 |
elsif (@returned_vals) { } |
202
|
0 |
31 |
unless my $class = ref $self |
212
|
0 |
31 |
if ($options{'-returning'}) |
213
|
0 |
0 |
if (&does($options{'-returning'}, "HASH") and not keys %{$options{"-returning"};}) |
251
|
0 |
27 |
exists $dbh_options{'catalog'} || exists $dbh_options{'schema'} ? : |
|
0 |
27 |
$dbh_options{'last_insert_id'} ? : |
273
|
31 |
90 |
if $k eq "__schema" |
275
|
9 |
81 |
if (ref $v) |
278
|
4 |
5 |
if ($is_component{$k}) { } |
|
5 |
0 |
elsif (&does($v, 'ARRAY') and $sqla->{'array_datatypes'} || $sqla->is_bind_value_with_type($v) or ref $v eq 'REF' and &does($$v, 'ARRAY')) { } |
304
|
4 |
27 |
keys %subrecords ? : |
315
|
0 |
4 |
unless &does($arrayref, "ARRAY") |
317
|
0 |
4 |
unless @$arrayref |
347
|
3 |
2 |
if ($self->_is_called_as_class_method) { } |
349
|
0 |
3 |
unless @_ |
352
|
1 |
2 |
if ($uses_named_args) { } |
359
|
0 |
2 |
if (&does($_[0], 'HASH')) { } |
362
|
0 |
0 |
if @_ |
366
|
0 |
2 |
unless $n_vals == $n_keys |
371
|
0 |
2 |
if $missing |
382
|
2 |
0 |
unless my $components = $self->{$component_name} |
383
|
0 |
0 |
unless &does($components, "ARRAY") |
429
|
25 |
5 |
if ($self->_is_called_as_class_method) { } |
431
|
0 |
25 |
unless @_ |
434
|
3 |
22 |
if ($uses_named_args) { } |
441
|
0 |
22 |
unless &does($_[-1], "HASH") |
445
|
9 |
13 |
if (@_) { } |
447
|
0 |
9 |
unless $n_vals == $n_keys |
463
|
4 |
1 |
if (not @_) { } |
|
1 |
0 |
elsif (@_ == 1) { } |
468
|
0 |
1 |
unless &does($_[0], "HASH") |
509
|
53 |
5 |
unless ref $val |
514
|
2 |
2 |
if &does($val, "HASH") or &does($val, "ARRAY") and not $sqla->{'array_datatypes'} and not $sqla->is_bind_value_with_type($val) |
519
|
1 |
29 |
if (@sub_refs) |
568
|
0 |
194 |
$db_schema && !($db_from =~ /\./) ? : |
576
|
0 |
0 |
if defined $v and not $v |
578
|
0 |
0 |
@invalid ? : |