Filename | /usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/filter.pm |
Statements | Executed 10 statements in 188µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 202µs | BEGIN@2 | Koha::QueryParser::Driver::PQF::query_plan::filter::
1 | 1 | 1 | 11µs | 23µs | BEGIN@5 | Koha::QueryParser::Driver::PQF::query_plan::filter::
1 | 1 | 1 | 10µs | 14µs | BEGIN@4 | Koha::QueryParser::Driver::PQF::query_plan::filter::
0 | 0 | 0 | 0s | 0s | target_syntax | Koha::QueryParser::Driver::PQF::query_plan::filter::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Koha::QueryParser::Driver::PQF::query_plan::filter; | ||||
2 | 3 | 38µs | 2 | 379µs | # spent 202µs (26+176) within Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@2 which was called:
# once (26µs+176µs) by Koha::QueryParser::Driver::PQF::BEGIN@11 at line 2 # spent 202µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@2
# spent 176µs making 1 call to base::import |
3 | |||||
4 | 3 | 27µs | 2 | 18µs | # spent 14µs (10+4) within Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@4 which was called:
# once (10µs+4µs) by Koha::QueryParser::Driver::PQF::BEGIN@11 at line 4 # spent 14µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@4
# spent 4µs making 1 call to strict::import |
5 | 3 | 120µs | 2 | 36µs | # spent 23µs (11+12) within Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@5 which was called:
# once (11µs+12µs) by Koha::QueryParser::Driver::PQF::BEGIN@11 at line 5 # spent 23µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@5
# spent 12µs making 1 call to warnings::import |
6 | |||||
7 | =head1 NAME | ||||
8 | |||||
- - | |||||
22 | sub target_syntax { | ||||
23 | my ($self, $server) = @_; | ||||
24 | my $attributes = $self->plan->QueryParser->bib1_mapping_by_name( 'filter', $self->name, $server ); | ||||
25 | |||||
26 | if ($attributes->{'target_syntax_callback'}) { | ||||
27 | return $attributes->{'target_syntax_callback'}->($self->plan->QueryParser, $self->name, $self->args, $self->negate, $server); | ||||
28 | } else { | ||||
29 | return ''; | ||||
30 | } | ||||
31 | } | ||||
32 | |||||
33 | 1 | 3µs | 1; |