| line |
true |
false |
branch |
|
137
|
0 |
30 |
unless my $tokens = $self->tokens |
|
140
|
13 |
17 |
$as_sentences ? : |
|
171
|
0 |
13 |
if ($debug) |
|
191
|
22 |
20 |
if (exists $heat_sentence_ends{$start}) |
|
192
|
0 |
22 |
if $debug |
|
205
|
3 |
17 |
if (defined $heat_sentence_starts->[$i] and $heat_sentence_starts->[$i] != $start) { } |
|
222
|
0 |
1990 |
unless ($tok) |
|
223
|
0 |
0 |
if $debug |
|
226
|
10 |
1980 |
if ($tok->is_sentence_end) |
|
228
|
0 |
10 |
if ($debug) |
|
237
|
0 |
20 |
if $end > $num_tokens |
|
239
|
0 |
20 |
if $debug |
|
246
|
0 |
20 |
if ($end < $token_pos) |
|
247
|
0 |
0 |
if $debug |
|
258
|
0 |
13 |
if $debug |
|
272
|
3075 |
2000 |
if $seen_pos{$pos}++ |
|
273
|
42 |
1958 |
exists $heatmap{$pos} ? : |
|
278
|
22 |
20 |
unless @cluster_tokens |
|
286
|
42 |
1958 |
if exists $heatmap{$pos} |
|
290
|
0 |
20 |
unless $has_hot |
|
310
|
42 |
1958 |
if (exists $heatmap{$_}) |
|
312
|
10 |
32 |
if ($i and exists $heatmap{$cluster_pos[$i - 2]}) |
|
324
|
7 |
13 |
if ($query_has_phrase and not $self->{'_treat_phrases_as_singles'}) |
|
327
|
3 |
4 |
if (not $self->{'_stemmer'}) { } |
|
330
|
0 |
3 |
unless ($span{'str'} =~ /$qre/) |
|
331
|
0 |
0 |
if $debug |
|
342
|
0 |
4 |
if ($n_terms == $query_has_phrase and $n_terms > $span{'unique'}) |
|
346
|
0 |
0 |
if $debug |
|
357
|
0 |
20 |
if ($debug) |
|
365
|
0 |
0 |
exists $heatmap{$_} ? : |
|
|
0 |
0 |
exists $heatmap{$_} ? : |
|
392
|
0 |
5 |
unless $Search::Tools::HeatMap::b->{'unique'} <=> $Search::Tools::HeatMap::a->{'unique'} or $Search::Tools::HeatMap::b->{'proximate'} <=> $Search::Tools::HeatMap::a->{'proximate'} or $Search::Tools::HeatMap::b->{'heat'} <=> $Search::Tools::HeatMap::a->{'heat'} |
|
416
|
0 |
17 |
if ($debug) |
|
447
|
33 |
44 |
if ($i and $pos - $positions[$i - 1] > $proximity) { } |
|
457
|
0 |
17 |
if $debug |
|
468
|
0 |
19 |
unless scalar @$b <=> scalar @$a or $heatmap{$Search::Tools::HeatMap::b->[0]} <=> $heatmap{$Search::Tools::HeatMap::a->[0]} |
|
481
|
1844 |
1513 |
if $seen_pos{$pos2}++ |
|
482
|
77 |
1436 |
exists $heatmap{$pos2} ? : |
|
496
|
0 |
50 |
unless @cluster_tokens |
|
504
|
77 |
1419 |
if exists $heatmap{$pos} |
|
508
|
11 |
39 |
unless $has_hot |
|
522
|
77 |
1264 |
if (exists $heatmap{$_}) |
|
524
|
23 |
54 |
if ($i and exists $heatmap{$cluster_pos[$i - 2]}) |
|
535
|
3 |
36 |
if ($query_has_phrase and not $self->{'_treat_phrases_as_singles'}) |
|
538
|
1 |
2 |
if (not $self->{'_stemmer'}) { } |
|
541
|
1 |
0 |
unless ($span{'str'} =~ /$qre/) |
|
542
|
0 |
1 |
if $debug |
|
551
|
0 |
2 |
if ($n_terms == $query_has_phrase and $n_terms > $span{'unique'}) |
|
554
|
0 |
0 |
if $debug |
|
565
|
0 |
38 |
if ($debug) |
|
573
|
0 |
0 |
exists $heatmap{$_} ? : |
|
|
0 |
0 |
exists $heatmap{$_} ? : |