| line |
true |
false |
branch |
|
69
|
0 |
0 |
if (ref $dbh eq 'ARRAY') |
|
71
|
0 |
0 |
unless ($dbh = 'DBI'->connect(@$dbh)) |
|
81
|
0 |
0 |
unless ($sth->execute) |
|
82
|
0 |
0 |
if (not grep({$TABLE eq $_;} 'MyConText'->list_context_indexes($dbh))) { } |
|
100
|
0 |
0 |
if ($mydbh) |
|
104
|
0 |
0 |
unless (defined $dbh->selectrow_array("select count(*) from $data_table")) |
|
109
|
0 |
0 |
if (defined $front_module) { } |
|
110
|
0 |
0 |
if ($front_module ne $class) |
|
112
|
0 |
0 |
if $@ |
|
121
|
0 |
0 |
if (defined $back_module) { } |
|
123
|
0 |
0 |
if $@ |
|
138
|
0 |
0 |
if (ref $dbh eq 'ARRAY') |
|
140
|
0 |
0 |
unless ($dbh = 'DBI'->connect(@$dbh)) |
|
151
|
0 |
0 |
unless defined $$self{'data_table'} |
|
161
|
0 |
0 |
unless ($dbh->do($CREATE_PARAM)) |
|
166
|
0 |
0 |
if (defined $front_module) { } |
|
168
|
0 |
0 |
if $@ |
|
171
|
0 |
0 |
if (defined $MyConText::errstr) |
|
177
|
0 |
0 |
if (defined $back_module) { } |
|
179
|
0 |
0 |
if $@ |
|
181
|
0 |
0 |
if (defined $MyConText::errstr) |
|
207
|
0 |
0 |
unless $tag =~ /(^|_)table$/ |
|
214
|
0 |
0 |
ref $self ? : |
|
225
|
0 |
0 |
if ($dbh->selectrow_array("select param, value from $table\n\t\t\t\twhere param = 'data_table'")) |
|
235
|
0 |
0 |
unless defined $id |
|
244
|
0 |
0 |
if (not defined $$self{'max_doc_id'} or $id > $$self{'max_doc_id'}) |
|
246
|
0 |
0 |
defined $$self{'update_max_doc_id_sth'} ? : |
|
255
|
0 |
0 |
if defined $init_env |
|
256
|
0 |
0 |
if $@ |
|
258
|
0 |
0 |
unless defined $data |
|
278
|
0 |
0 |
unless defined $words{$word} |
|
283
|
0 |
0 |
if ($adding_doc) { } |
|
290
|
0 |
0 |
if (wantarray) |
|
317
|
0 |
0 |
if ($adding_doc) { } |
|
324
|
0 |
0 |
if (wantarray) |
|
342
|
0 |
0 |
unless ($$self{'count_bits'}) |
|
355
|
0 |
0 |
if ($word_num == 1) |
|
357
|
0 |
0 |
if defined $$docs{$doc} |
|
360
|
0 |
0 |
unless defined $$oneword{$doc} |
|
367
|
0 |
0 |
if ($is_some_plus) { } |
|
368
|
0 |
0 |
if defined $$docs{$doc} |
|
371
|
0 |
0 |
unless defined $$docs{$doc} |
|
388
|
0 |
0 |
unless ($$self{'count_bits'}) |