line |
true |
false |
branch |
32
|
0 |
1 |
unless defined $$self{'excerpt_field'} |
37
|
1 |
0 |
unless (defined $$self{'encoder'}) |
40
|
1 |
0 |
unless (defined $$self{'formatter'}) |
42
|
1 |
0 |
unless defined $pre_tag |
43
|
1 |
0 |
unless defined $post_tag |
64
|
0 |
4 |
unless $text_length |
72
|
2 |
2 |
$text_length - $excerpt_length < $top ? : |
78
|
2 |
2 |
if ($top <= 0) { } |
87
|
0 |
2 |
if ($text =~ s/
\A
(
\C{0,$limit}?
\.\s+
)
//lmsx) { } |
101
|
2 |
0 |
if ($text =~ s/
\A
(
\C{0,$limit}? # don't go outside the window
$token_re # match possible partial token
.*? # ... and any junk following that token
)
(?=$token_re) # just before the start of a full token...
/... /lmsx) |
120
|
2 |
2 |
if (&bytes::length($text) > $excerpt_length) |
123
|
2 |
0 |
if ($extra_char =~ /$token_re/l) |
129
|
3 |
1 |
unless ($text =~ /\.\s*\Z/lmsx) |
133
|
4 |
0 |
if ($extra_char =~ /$token_re/l) |
189
|
10 |
6 |
if (a_isa_b($term, 'KinoSearch1::Index::Term')) { } |
192
|
5 |
5 |
if $done{$term_text} |
197
|
1 |
4 |
unless defined $term_vector |
210
|
3 |
3 |
if $done{$phrase_text} |
217
|
1 |
2 |
unless scalar @term_vectors == scalar @term_texts |
222
|
0 |
6 |
unless defined $tv |
223
|
2 |
4 |
if ($i == 0) { } |
249
|
2 |
0 |
if $$tv_start_positions[$i] >= $valid_position |
254
|
2 |
0 |
if $$tv_end_positions[$j] >= $valid_position |
266
|
0 |
2 |
unless $$a[0] <=> $$b[0] |
270
|
5 |
1 |
if $$_[0] != $last |
288
|
1 |
3 |
unless @$posits |
299
|
0 |
0 |
if $diff > $window |
308
|
2 |
0 |
if $diff > $window |