File Coverage

blib/lib/KinoSearch1/Index/TermEnum.pm
Criterion Covered Total %
statement 13 22 59.0
branch n/a
condition n/a
subroutine 5 14 35.7
pod 0 9 0.0
total 18 45 40.0


line stmt bran cond sub pod time code
1             package KinoSearch1::Index::TermEnum;
2 1     1   1380 use strict;
  1         3  
  1         45  
3 1     1   7 use warnings;
  1         3  
  1         36  
4 1     1   6 use KinoSearch1::Util::ToolSet;
  1         3  
  1         216  
5 1     1   8 use base qw( KinoSearch1::Util::CClass );
  1         4  
  1         122  
6              
7 1     1   12 BEGIN { __PACKAGE__->init_instance_vars(); }
8              
9             =begin comment
10              
11             $term_enum->seek($term);
12              
13             Locate the Enum to a particular spot.
14              
15             =end comment
16             =cut
17              
18 0     0 0   sub seek { shift->abstract_death }
19              
20             =begin comment
21              
22             my $evil_twin = $term_enum->clone_enum;
23              
24             Return a dupe, in the same state as the orig.
25              
26             =end comment
27             =cut
28              
29 0     0 0   sub clone_enum { shift->abstract_death }
30              
31             =begin comment
32              
33             my $not_end_of_enum_yet = $term_enum->next;
34              
35             Proceed to the next term. Return true until we fall off the end of the Enum,
36             then return false.
37              
38             =end comment
39             =cut
40              
41 0     0 0   sub next { shift->abstract_death }
42              
43 0     0 0   sub skip_to { shift->todo_death }
44              
45             =begin comment
46              
47             my $termstring = $term_enum->get_termstring;
48              
49             Return a termstring, if the Enum is in a state where it's valid to do so.
50             Otherwise, return undef.
51              
52             =end comment
53             =cut
54              
55 0     0 0   sub get_termstring { shift->abstract_death }
56              
57 0     0 0   sub get_terminfo { shift->abstract_death }
58 0     0 0   sub get_index_interval { shift->abstract_death }
59 0     0 0   sub get_size { shift->abstract_death }
60              
61 0     0 0   sub close { shift->abstract_death }
62              
63             1;
64              
65             __END__