line |
true |
false |
branch |
76
|
0 |
0 |
unless &Getopt::Long::GetOptions('from=s', \$FROM, 'user=s', \$USER, 'pass=s', \$PASS, 'to=s', \$TO, 'index', \$INDEX, 'quiet', \$QUIET, 'sqlite_cache=i', \$CACHE) |
87
|
0 |
0 |
if (defined $FROM and not $FROM =~ /^DBI:/) |
92
|
0 |
0 |
$CACHE ? : |
104
|
0 |
0 |
if (defined $self->to and -e $self->to) |
133
|
2 |
0 |
if ($self->index) |
165
|
2 |
0 |
if (-f $self->publish->sqlite) |
168
|
2 |
0 |
if (-f $self->publish->sqlite_gz) |
171
|
2 |
0 |
if (-f $self->publish->sqlite_bz2) |
174
|
2 |
0 |
if (-f $self->publish->sqlite_lz) |
186
|
1 |
0 |
if ($command eq 'all') { } |
|
0 |
0 |
elsif ($command eq 'null') { } |
188
|
0 |
1 |
unless ($self->from_tables) |
238
|
0 |
2 |
unless ($from) |
248
|
0 |
2 |
unless my $to = $dbh->prepare($insert) |
250
|
0 |
6 |
if ($bind) { } |
253
|
0 |
0 |
if (defined $$bind[$_]) { } |
263
|
6 |
0 |
if ++$rows % 10000 |
290
|
2 |
2 |
_UNIQUE($self->to_dbh, $t, $c) ? : |
304
|
2 |
2 |
unless ($$self{'from_dbh'}) |
315
|
0 |
2 |
unless ($$self{'from_dbh'}) |
324
|
2 |
2 |
unless ($$self{'from_scan'}) |
332
|
2 |
2 |
unless ($$self{'from_tables'}) |
351
|
0 |
0 |
unless ($$self{'from_tables'}) |
354
|
0 |
0 |
unless (exists $$self{'from_tables'}{$name}) |
373
|
2 |
18 |
unless ($$self{'to_dbh'}) |
378
|
0 |
2 |
unless ($$self{'to_dbh'}) |
425
|
0 |
2 |
if ($self->sqlite_cache) |
427
|
0 |
0 |
if ($page_size) |
447
|
2 |
0 |
if ($self->index) |
463
|
2 |
0 |
if ($$self{'from_scan'}) |
466
|
2 |
0 |
if ($$self{'from_dbh'}) |
469
|
2 |
0 |
if ($$self{'to_dbh'}) |
476
|
0 |
20 |
if (&Params::Util::_CODE($_[0]->trace)) { } |
|
0 |
20 |
elsif ($_[0]->trace) { } |
494
|
0 |
8 |
@_ == 1 ? : |