line |
true |
false |
branch |
46
|
0 |
6 |
if (keys %params) { } |
|
6 |
0 |
elsif ($default_dsn) { } |
|
0 |
0 |
elsif ($ENV{'DBIX_SIMPLEQUERY_DSN'}) { } |
|
0 |
0 |
elsif (-r '/etc/simplequery.conf') { } |
74
|
0 |
0 |
if $line =~ /^\#/ |
77
|
0 |
0 |
if $line eq '' |
78
|
0 |
0 |
if $line =~ /^\s+$/ |
81
|
0 |
0 |
if (not $line =~ /^\s*(dsn|user|password)\s*=\s*(\S+)\s*$/) { } |
108
|
1 |
1 |
ref $_[0] eq 'HASH' ? : |
109
|
2 |
0 |
if exists $defaults{'dsn'} |
110
|
2 |
0 |
if exists $defaults{'user'} |
111
|
2 |
0 |
if exists $defaults{'password'} |
118
|
2 |
0 |
unless ref $self eq 'DBIx::SimpleQuery' |
125
|
2 |
0 |
unless ref $self eq 'DBIx::SimpleQuery' |
132
|
2 |
0 |
unless ref $self eq 'DBIx::SimpleQuery' |
141
|
0 |
0 |
if (ref $self eq 'DBIx::SimpleQuery') { } |
151
|
0 |
0 |
if ($$self{'dsn'} =~ /^DBI:Pg/) { } |
159
|
0 |
0 |
unless $dbh |
162
|
0 |
0 |
if $debug |
169
|
0 |
0 |
unless $rv |
172
|
0 |
0 |
$rv eq '0E0' ? : |
|
0 |
0 |
$$sth{'Active'} ? : |
181
|
0 |
0 |
if (not $$object{'count'} and scalar @{$$object{'results'};}) |
190
|
0 |
0 |
if (wantarray) |
194
|
0 |
0 |
if ($$object{'field_count'} == 1) |
206
|
0 |
0 |
if ($$object{'count'} and $$object{'count'} == 1 and $$object{'field_count'} and $$object{'field_count'} == 1) |
224
|
0 |
0 |
if (scalar @_ == 0) { } |
230
|
0 |
0 |
if (ref $self eq 'DBIx::SimpleQuery') { } |
239
|
0 |
0 |
unless defined $text |
246
|
0 |
0 |
if ($dbh) |