| line |
true |
false |
branch |
|
39
|
6 |
1 |
if (not ref $data eq 'HASH') { } |
|
43
|
0 |
6 |
$dbtype ? : |
|
48
|
1 |
0 |
ref $$data{'attrs'} eq 'HASH' ? : |
|
58
|
0 |
7 |
unless $class eq 'SQLite::Abstract' |
|
61
|
0 |
7 |
unless -e $$self{'dbname'} |
|
63
|
0 |
7 |
unless -f $$self{'dbname'} |
|
78
|
5 |
2 |
$_[1] ? : |
|
103
|
1 |
1 |
if ($ps) |
|
191
|
1 |
1 |
if (@_ == 2) { } |
|
211
|
1404 |
0 |
if $sth->execute(@$_) |
|
295
|
7 |
5 |
unless ($query =~ /^\s*SELECT\s+/i) |
|
296
|
4 |
3 |
if ($query =~ /^\s*\*/) { } |
|
308
|
5 |
7 |
if (wantarray) { } |
|
309
|
5 |
0 |
if (my(@data) = @{$$self{'dbh'}->selectall_arrayref($query);}) |
|
311
|
1 |
4 |
if ref $type eq 'SCALAR' |
|
318
|
7 |
0 |
if (not $$self{$_}) { } |
|
329
|
2 |
5 |
ref $type eq 'SCALAR' ? : |
|
|
7 |
0 |
@$result ? : |
|
347
|
0 |
2 |
$query ? : |
|
373
|
0 |
9 |
if $$self{'dbh'}->errstr |
|
390
|
1 |
11 |
if ($$self{'dbh'}->errstr) { } |
|
393
|
1 |
0 |
if ($$self{'dbh'}{'RaiseError'}) { } |
|
402
|
7 |
4 |
$affected == 0 ? : |
|
410
|
0 |
22 |
unless $$self{'tablename'} |
|
419
|
0 |
3 |
$_[1] ? : |
|
429
|
0 |
3 |
if $tmp |
|
430
|
0 |
3 |
unless $query |
|
435
|
3 |
0 |
if ($method =~ /^select_(\w+)/i) |
|
437
|
3 |
0 |
if ($fields) |
|
439
|
3 |
0 |
!($fields =~ /\,/) ? : |