blib/lib/Search/Tokenizer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 28 | 71.4 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 2 | if @_ == 1 |
24 | 2 | 5 | if (/^regex=>Regexp$/) |
25 | 1 | 4 | if (/^lower=>NOREF$/) |
26 | 0 | 4 | if (/^filter=>CODE$/) |
27 | 2 | 2 | if (/^filter_in_place=>CODE$/) |
28 | 2 | 0 | if (/^stopwords=>HASH$/) |
34 | 0 | 2 | if '' =~ /$regex/ |
58 | 8 | 4 | if $lower |
59 | 0 | 12 | if $filter |
60 | 12 | 0 | if $filter_in_place |
61 | 5 | 7 | if $stopwords and $$stopwords{$term} |
64 | 7 | 5 | if ($term) |
65 | 7 | 0 | wantarray ? : |
93 | 1 | 0 | $want_lower ? : |