line |
true |
false |
branch |
69
|
0 |
7 |
if $this->check_error('SQLite::DB::connect - Error while connecting to DBI :') |
71
|
0 |
7 |
unless (defined $db) |
86
|
0 |
7 |
unless $$this{'dbconn'}->disconnect |
108
|
1 |
2 |
if $$this{'dbconn'}{'AutoCommit'} |
110
|
1 |
1 |
unless @transaction_errors > 0 |
112
|
1 |
1 |
if ($@ or @transaction_errors > 0) |
114
|
0 |
1 |
$@ ? : |
131
|
1 |
1 |
if $$this{'dbconn'}{'AutoCommit'} |
135
|
0 |
1 |
if ($@) |
161
|
0 |
36 |
unless (defined $$this{'dbconn'}) |
167
|
2 |
34 |
if $this->check_error('SQLite::DB::exec_query - Error while preparing :') |
170
|
3 |
31 |
if $this->check_error('SQLite::DB::exec_query - Error while executing :') |
172
|
23 |
8 |
if $type == 2 |
174
|
1 |
30 |
if ($type == 4 || $type == 3 and $rv != 0) |
206
|
0 |
9 |
unless (defined $$this{'dbconn'}) |
212
|
1 |
8 |
if $this->check_error('SQLite::DB::select_query - Error while preparing :') |
215
|
0 |
8 |
if $this->check_error('SQLite::DB::select_query - Error while executing :') |
217
|
8 |
0 |
if defined $funcptr |
233
|
4 |
0 |
defined $_[0] ? : |
253
|
0 |
1 |
unless (defined $$this{'dbconn'}) |
259
|
0 |
1 |
if $this->check_error('SQLite::DB::get_dblist - Error while preparing :') |
262
|
0 |
1 |
if $this->check_error('SQLite::DB::get_dblist - Error while executing :') |
292
|
6 |
90 |
if ($DBI::err or $DBI::errstr) |
294
|
0 |
6 |
if defined $query |
306
|
0 |
36 |
ref $_[0] ? : |
309
|
0 |
36 |
if $query =~ /^\s*SeLeCt/i |
310
|
27 |
9 |
if $query =~ /^\s*InSeRt/i |
311
|
0 |
9 |
if $query =~ /^\s*UpDaTe/i |
312
|
1 |
8 |
if $query =~ /^\s*DeLeTe/i |
313
|
7 |
1 |
if $query =~ /^\s*CrEaTe/i |
314
|
0 |
1 |
if $query =~ /^\s*DrOp/i |