blib/lib/KinoSearch1/Index/TermEnum.pm

filter: Statementstmt 60.8% 14 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.7% 5 / 14 Podpod 0.0% 0 / 9 totaltotal 41.3% 19 / 46 CC 1 SCAR 5.0
CC
1
Cov
61%
seek
2.0
clone_enum
2.0
next
2.0
CRAP 1.6
« blib/lib/KinoSearch1/Index/Term.pm ↑ Summary blib/lib/KinoSearch1/Store/RAMInvIndex.pm »
1 package KinoSearch1::Index::TermEnum;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use KinoSearch1::Util::ToolSet;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use base qw( KinoSearch1::Util::CClass );
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶BEGIN { __PACKAGE__->init_instance_vars(); }
Subroutine BEGIN: called CC=1 SCAR=0.0
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 ▶sub seek { shift->abstract_death }
Subroutine seek: not called CC=1 SCAR=6.9
Pod undocumented
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 ▶sub clone_enum { shift->abstract_death }
Subroutine clone_enum: not called CC=1 SCAR=6.9
Pod undocumented
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 ▶sub next { shift->abstract_death }
Subroutine next: not called CC=1 SCAR=6.9
Pod undocumented
42  
43 0 ▶sub skip_to { shift->todo_death }
Subroutine skip_to: not called CC=1 SCAR=6.9
Pod undocumented
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 ▶sub get_termstring { shift->abstract_death }
Subroutine get_termstring: not called CC=1 SCAR=6.9
Pod undocumented
56  
57 0 ▶sub get_terminfo { shift->abstract_death }
Subroutine get_terminfo: not called CC=1 SCAR=6.9
Pod undocumented
58 0 ▶sub get_index_interval { shift->abstract_death }
Subroutine get_index_interval: not called CC=1 SCAR=6.9
Pod undocumented
59 0 ▶sub get_size { shift->abstract_death }
Subroutine get_size: not called CC=1 SCAR=6.9
Pod undocumented
60  
61 0 ▶sub close { shift->abstract_death }
Subroutine close: not called CC=1 SCAR=6.9
Pod undocumented
62  
63 1 1;
64  
65 __END__
« blib/lib/KinoSearch1/Index/Term.pm ↑ Summary blib/lib/KinoSearch1/Store/RAMInvIndex.pm »