Filename | /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/Interfaces/SearchAlgorithm.pm |
Statements | Executed 20 statements in 453µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 32µs | BEGIN@4 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 16µs | 54µs | BEGIN@6 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 16µs | 34µs | BEGIN@5 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 9µs | 9µs | BEGIN@8 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 9µs | 9µs | BEGIN@14 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 9µs | 9µs | BEGIN@10 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 9µs | 9µs | BEGIN@9 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 9µs | 9µs | BEGIN@12 | Foswiki::Store::Interfaces::SearchAlgorithm::
1 | 1 | 1 | 9µs | 9µs | BEGIN@11 | Foswiki::Store::Interfaces::SearchAlgorithm::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # See bottom of file for license and copyright information | ||||
2 | package Foswiki::Store::Interfaces::SearchAlgorithm; | ||||
3 | |||||
4 | 2 | 46µs | 2 | 39µs | # spent 32µs (25+7) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4 which was called:
# once (25µs+7µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 4 # spent 32µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4
# spent 7µs making 1 call to strict::import |
5 | 2 | 44µs | 2 | 51µs | # spent 34µs (16+17) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5 which was called:
# once (16µs+17µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 5 # spent 34µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5
# spent 17µs making 1 call to warnings::import |
6 | 2 | 45µs | 2 | 92µs | # spent 54µs (16+38) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6 which was called:
# once (16µs+38µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 6 # spent 54µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6
# spent 38µs making 1 call to Assert::import |
7 | |||||
8 | 2 | 44µs | 1 | 9µs | # spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@8 which was called:
# once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 8 # spent 9µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@8 |
9 | 2 | 40µs | 1 | 9µs | # spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@9 which was called:
# once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 9 # spent 9µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@9 |
10 | 2 | 38µs | 1 | 9µs | # spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@10 which was called:
# once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 10 # spent 9µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@10 |
11 | 2 | 38µs | 1 | 9µs | # spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@11 which was called:
# once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 11 # spent 9µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@11 |
12 | 2 | 46µs | 1 | 9µs | # spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@12 which was called:
# once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 12 # spent 9µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@12 |
13 | |||||
14 | 2 | 94µs | 1 | 9µs | # spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@14 which was called:
# once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 14 # spent 9µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@14 |
15 | 1 | 12µs | our @ISA = ('Foswiki::Store::Interfaces::QueryAlgorithm'); | ||
16 | |||||
17 | =begin TML | ||||
18 | |||||
19 | ---+ package Foswiki::Store::Interfaces::SearchAlgorithm | ||||
20 | |||||
21 | DEPRECATED - all SearchAlgorithm and QueryAlgorithm use the same calling convention. | ||||
22 | |||||
23 | Interface to search algorithms. | ||||
24 | Implementations of this interface are found in Foswiki/Store/SearchAlgorithms. | ||||
25 | |||||
26 | ---++ StaticMethod query( $query, $webs, $inputTopicSet, $session, $options ) -> $infoCache | ||||
27 | * =$query= - A Foswiki::Search::Node object. The tokens() method of | ||||
28 | this object returns the list of search tokens. | ||||
29 | * =$web= - name of the web being searched, or may be an array reference | ||||
30 | to a set of webs to search | ||||
31 | * =$inputTopicSet= - iterator over names of topics in that web to search | ||||
32 | * =$session= - reference to the store object | ||||
33 | * =$options= - hash of requested options | ||||
34 | This is the top-level interface to a search algorithm. | ||||
35 | |||||
36 | Return a Foswiki::Search::ResultSet. | ||||
37 | |||||
38 | =cut | ||||
39 | |||||
40 | 1 | 6µs | 1; | ||
41 | |||||
42 | __END__ |