line |
true |
false |
branch |
147
|
2 |
9 |
if ($self->{'dupes'}) |
148
|
1 |
1 |
if $self->{'dupes'} eq "ignore" |
149
|
1 |
1 |
if $self->{'dupes'} eq "update" |
214
|
15 |
18 |
if $_[0] and ref $_[0] |
217
|
14 |
4 |
if (@_) { } |
|
2 |
2 |
elsif ($self->{'buffer_counter'}) { } |
220
|
1 |
13 |
unless $self->{'cols'} |
223
|
2 |
11 |
if scalar(@_) % scalar(@{$self->{'cols'};}) |
226
|
1 |
10 |
if $self->{'hash_buffer'} |
232
|
4 |
10 |
if ($rows > $left) { } |
240
|
9 |
5 |
if $self->{'buffer_counter'} == $self->{'buffer'} |
320
|
3 |
7 |
if (ref $fields eq 'ARRAY') { } |
376
|
2 |
15 |
unless $table and $columns and @$columns |
392
|
1 |
14 |
if $self->{'buffer_counter'} and not $self->{'hash_buffer'} |
395
|
1 |
13 |
unless defined $self->{'cols'} |
400
|
7 |
7 |
if $self->{'buffer_counter'} == $self->{'buffer'} |
409
|
6 |
3 |
unless $self->{'full_buffer_insert'} |
427
|
2 |
3 |
if $self->{'hash_buffer'} |
463
|
8 |
13 |
unless defined $self->{'row_total'} |
465
|
19 |
2 |
if $self->{'last_retval'} |
478
|
3 |
10 |
if $self->{'buffer_counter'} |
489
|
5 |
33 |
$dupe eq 'ignore' ? : |
493
|
5 |
33 |
if $dupe eq "update" |
508
|
7 |
49 |
if $null and not defined $fields->{$key} |
510
|
12 |
44 |
if (ref $fields->{$key}) { } |
519
|
33 |
1 |
if @$cols |