Branch Coverage

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/
63 3036 4 if $lower
64 0 3040 if $filter
65 3040 0 if $filter_in_place
66 5 3035 if $stopwords and $stopwords->{$term}
69 3021 19 if ($term)
70 3021 0 wantarray ? :
98 1 0 $want_lower ? :