File Coverage

blib/lib/Search/Fulltext/Tokenizer/Unigram.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 8 9 88.8


line stmt bran cond sub pod time code
1             package Search::Fulltext::Tokenizer::Unigram;
2              
3 1     1   2307 use parent qw/Search::Fulltext::Tokenizer::Ngram/;
  1         2  
  1         10  
4              
5             sub get_tokenizer {
6 13     13 0 2624 sub { __PACKAGE__->new(1)->create_token_iterator(@_) };
  1     1   33430  
7             }
8              
9             1;
10              
11             __END__