| line |
true |
false |
branch |
|
84
|
0 |
1 |
$params{'attrs'} ? : |
|
86
|
0 |
1 |
if (ref $class) |
|
103
|
0 |
1 |
if $params{'dbh'} |
|
124
|
0 |
0 |
unless ($$self{'connected'}) |
|
125
|
0 |
0 |
if ($dbh) { } |
|
129
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
194
|
0 |
0 |
if (ref $table) |
|
197
|
0 |
0 |
if $$config{'replace'} |
|
205
|
0 |
0 |
if (ref $columns eq 'HASH') { } |
|
|
0 |
0 |
elsif (ref $columns eq 'ARRAY' and not defined $values and ref $$columns[0] eq 'HASH') { } |
|
215
|
0 |
0 |
if (ref $values eq 'ARRAY' and not ref $$values[0] and ref $$values[1] eq 'ARRAY') |
|
224
|
0 |
0 |
if (ref $$columns[$i]) { } |
|
|
0 |
0 |
elsif (ref $sql_values) { } |
|
225
|
0 |
0 |
unless (ref $sql_values) |
|
236
|
0 |
0 |
if ref $sql_values |
|
241
|
0 |
0 |
if (ref $values eq 'HASH') |
|
250
|
0 |
0 |
if (ref $values and ref $$values[0]) { } |
|
253
|
0 |
0 |
if (ref $$values[0] eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (ref $$values[0] eq 'HASH') { } |
|
255
|
0 |
0 |
if (@$values == 1 and @{$$values[0];} > $columns_values) { } |
|
257
|
0 |
0 |
unless $sth->execute($value) and do {
$$self{'success'} = 1
} |
|
258
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
263
|
0 |
0 |
unless $sth->execute(@$values) and do {
$$self{'success'} = 1
} |
|
264
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
274
|
0 |
0 |
unless $sth->execute(@values) and do {
$$self{'success'} = 1
} |
|
275
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
282
|
0 |
0 |
unless $$self{'dbh'}->do($sql) and do {
$$self{'success'} = 1
} |
|
283
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
317
|
0 |
0 |
if ($values) { } |
|
319
|
0 |
0 |
if (ref $$values[0] eq 'ARRAY') |
|
321
|
0 |
0 |
unless $sth->execute(@$value) and {$$self{'success'} = 1} |
|
322
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
327
|
0 |
0 |
unless $$self{'dbh'}->do($sql) and {$$self{'success'} = 1} |
|
328
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
372
|
0 |
0 |
if (ref $columns eq 'HASH') |
|
376
|
0 |
0 |
if (ref $columns eq 'ARRAY' and ref $$columns[0] eq 'HASH') |
|
383
|
0 |
0 |
if (ref $data eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (ref $data eq 'HASH') { } |
|
393
|
0 |
0 |
if (ref $$values[0]) { } |
|
396
|
0 |
0 |
if (ref $$values[0] eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (ref $$data[0] eq 'HASH') { } |
|
398
|
0 |
0 |
unless $sth->execute(@$values) and {$$self{'success'} = 1} |
|
399
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
408
|
0 |
0 |
unless $sth->execute(@values) and {$$self{'success'} = 1} |
|
409
|
0 |
0 |
if $$self{'param'}{'debug'} |
|
416
|
0 |
0 |
unless $$self{'dbh'}->do($sql) and {$$self{'success'} = 1} |
|
417
|
0 |
0 |
if $$self{'param'}{'debug'} |