| Filename | /usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/filter.pm |
| Statements | Executed 10 statements in 208µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 16µs | 167µs | Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@2 |
| 1 | 1 | 1 | 12µs | 15µs | Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@4 |
| 1 | 1 | 1 | 11µs | 24µs | Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@5 |
| 0 | 0 | 0 | 0s | 0s | Koha::QueryParser::Driver::PQF::query_plan::filter::target_syntax |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Koha::QueryParser::Driver::PQF::query_plan::filter; | ||||
| 2 | 3 | 36µs | 2 | 318µs | # spent 167µs (16+151) within Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@2 which was called:
# once (16µs+151µs) by Koha::QueryParser::Driver::PQF::BEGIN@11 at line 2 # spent 167µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@2
# spent 151µs making 1 call to base::import |
| 3 | |||||
| 4 | 3 | 27µs | 2 | 18µs | # spent 15µs (12+3) within Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@4 which was called:
# once (12µs+3µs) by Koha::QueryParser::Driver::PQF::BEGIN@11 at line 4 # spent 15µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::filter::BEGIN@4
# spent 3µs making 1 call to strict::import |
| 5 | 3 | 142µs | 2 | 36µs | # spent 24µ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 24µ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; |