line |
true |
false |
branch |
14
|
1 |
23 |
unless ($$self{'DBH'}) |
18
|
0 |
1 |
if (not defined $$self{'DBABSPATH'}) { } |
20
|
0 |
0 |
unless my $dbname = $$self{'DBNAME'} |
21
|
0 |
0 |
unless my $user = $$self{'DBUSER'} |
22
|
0 |
0 |
unless my $password = $$self{'DBPASSWORD'} |
24
|
0 |
0 |
unless $$self{'DBH'} = DBI::connect_mysql($$self{'DBNAME'}, $$self{'DBUSER'}, $$self{'DBPASSWORD'}, $$self{'DBHOST'}) |
31
|
0 |
1 |
unless $$self{'DBABSPATH'} |
34
|
0 |
1 |
unless $$self{'DBH'} = DBI::connect_sqlite($$self{'DBABSPATH'}) |
43
|
0 |
1 |
if ($LEOCHARRE::Database::DEBUG) |
69
|
0 |
0 |
unless defined $arg |
70
|
0 |
0 |
unless ref $arg eq 'HASH' |
71
|
0 |
0 |
unless defined $$arg{'sqlite'} |
72
|
0 |
0 |
unless defined $$arg{'mysql'} |
74
|
0 |
0 |
$self->dbh->is_mysql ? : |
87
|
0 |
2 |
unless $statement |
89
|
2 |
0 |
unless ($$self{'_handles'}{$statement}) |
95
|
0 |
2 |
unless defined $sth |
145
|
0 |
0 |
unless defined $self->dbh |
154
|
0 |
1 |
unless defined $self->dbh |
156
|
0 |
1 |
unless $self->_dbh_is_local |
165
|
1 |
0 |
unless ($self->dbh->{'AutoCommit'}) |
168
|
0 |
1 |
unless $self->dbh->commit |
177
|
1 |
0 |
if $self->dbh->is_sqlite |