| line |
true |
false |
branch |
|
36
|
0 |
23 |
if ($self->debug) |
|
49
|
7 |
16 |
if ($self->tty) |
|
51
|
0 |
7 |
if $@ |
|
81
|
25 |
23 |
if (exists $self->{'_kworder_cache'}{$qstr}) |
|
89
|
15 |
45 |
if ($self->_regex_for($_)->is_phrase) { } |
|
121
|
10 |
50 |
if ($self->class) { } |
|
|
0 |
50 |
elsif ($self->style) { } |
|
|
6 |
44 |
elsif ($self->text_color) { } |
|
138
|
15 |
45 |
if ($self->tty) { } |
|
139
|
0 |
15 |
if $self->debug and not $self->no_html |
|
142
|
0 |
15 |
if $self->debug and not $self->no_html |
|
151
|
6 |
54 |
if ++$n > $#colors |
|
152
|
13 |
47 |
if ++$m > $#ttycolors |
|
160
|
0 |
69 |
unless my $q = shift() |
|
166
|
0 |
69 |
unless my $q = shift() |
|
172
|
0 |
25 |
unless my $text = shift() |
|
177
|
11 |
14 |
if ($XML->looks_like_html($text) and not $self->no_html) { } |
|
180
|
0 |
11 |
if ($self->query->qp->stemmer) |
|
188
|
1 |
13 |
if ($self->query->qp->stemmer) |
|
202
|
0 |
29 |
$self->debug > 1 ? : |
|
211
|
0 |
43 |
if ($debug) |
|
219
|
43 |
0 |
if (length $3) |
|
231
|
0 |
124 |
unless my $term = shift() |
|
232
|
64 |
60 |
if (exists $self->{'_regex_for'}{$term}) |
|
242
|
0 |
11 |
unless my $text = shift() |
|
318
|
8 |
27 |
if $len_diff < 0 |
|
320
|
0 |
35 |
if ($len_diff != $len_added) |
|
329
|
0 |
42 |
if ($self->debug > 1) |
|
390
|
0 |
4 |
if $self->debug > 1 |
|
410
|
0 |
1 |
unless my $text = shift() |
|
438
|
3 |
66 |
if ($tok->is_hot) |
|
449
|
3 |
1 |
if ($regex->is_phrase) { } |
|
457
|
0 |
6 |
if $debug |
|
460
|
3 |
3 |
if ($stemmed =~ /$term_re/) |
|
463
|
0 |
3 |
if $debug |
|
472
|
0 |
3 |
unless ($found_match) |
|
475
|
0 |
0 |
if $debug |
|
487
|
0 |
13 |
unless my $text = shift() |
|
512
|
30 |
1 |
unless ($self->{'_compiled_query_regex'}{"$query"}) |
|
516
|
0 |
31 |
if $debug > 1 |
|
526
|
0 |
31 |
if ($debug) |
|
527
|
0 |
0 |
if ($text =~ /\b$query_re\b/i and not $text =~ /$re/i) |
|
542
|
0 |
31 |
if $debug > 1 |
|
548
|
0 |
31 |
if $debug > 1 |
|
552
|
0 |
31 |
if $pos == length $text |
|
556
|
0 |
31 |
if $debug > 1 |
|
561
|
0 |
31 |
if $debug |
|
564
|
0 |
0 |
if ($debug and not $found_matches and $text =~ /$query_re/) |
|
565
|
0 |
0 |
if $debug |