File Coverage

blib/lib/Search/Tools/Token.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Search::Tools::Token;
2 31     31   239 use Moo;
  31         78  
  31         259  
3             use overload
4 325     325   12297 '""' => sub { $_[0]->str; },
5 4406     4406   526940 'bool' => sub { $_[0]->len; },
6 31     31   16124 fallback => 1;
  31         2491  
  31         423  
7              
8 31     31   3107 use Search::Tools; # XS required
  31         75  
  31         1709  
9              
10             our $VERSION = '1.007';
11              
12             1;
13              
14             __END__