line |
true |
false |
branch |
57
|
0 |
0 |
if (ref $$opt{$name . '_spec'} eq 'ARRAY') { } |
|
0 |
0 |
elsif (defined $$opt{$name . '_spec'}) { } |
72
|
0 |
0 |
if (ref $$opt{$name} eq 'ARRAY') { } |
|
0 |
0 |
elsif (defined $$opt{$name}) { } |
97
|
0 |
0 |
unless exists $$opt{$k} |
100
|
0 |
0 |
unless exists $$opt{$e} |
105
|
0 |
0 |
if (exists $$opt{'dbname'} or exists $$opt{'database'}) |
107
|
0 |
0 |
unless exists $$opt{'dbname'} and exists $$opt{'database'} |
111
|
0 |
0 |
if exists $$opt{'store'} |
115
|
0 |
0 |
exists $$opt{'dbi'} ? : |
119
|
0 |
0 |
if ($$opt{'sqlite'}) |
126
|
0 |
0 |
if (lc $database eq 'sqlite') { } |
|
0 |
0 |
elsif (lc $database eq 'mysql') { } |
|
0 |
0 |
elsif ($database =~ /^(pg|psql|pgsql|postgres|postgresql)$/i) { } |
129
|
0 |
0 |
if $$opt{'host'} or $$opt{'port'} |
135
|
0 |
0 |
if $host |
136
|
0 |
0 |
if $port |
141
|
0 |
0 |
if $host |
142
|
0 |
0 |
if $port |
147
|
0 |
0 |
if (length $dsn) |
158
|
0 |
0 |
if defined $ENV{'PERLRDF_STORE'} |