line | % | coverage | condition |
214 | 0 | | $$result{'hits'} && $$result{'hits'} > 0 |
265 | 0 | | defined $max_results and $offset + $max_results < $hits |
323 | 0 | | 'C4::Context'->preference('maxRecordsForFacets') || 20 |
336 | 0 | | $scan and $DEBUG |
365 | 0 | | $sort eq 'title_za' or $sort eq 'title_dsc' |
| 0 | | $sort eq 'author_az' or $sort eq 'author_asc' |
| 0 | | $sort eq 'author_za' or $sort eq 'author_dsc' |
| 0 | | $sort eq 'title_az' or $sort eq 'title_asc' |
405 | 0 | | $sort_by and not $scan |
471 | 0 | | not $scan and $servers[$i - 1] =~ /biblioserver/ |
536 | 0 | | $number_of_facets < 6 or $expanded_facet eq $link_value or $$facets_info{$link_value}{'expanded'} |
547 | 0 | | 'C4::Context'->preference('FacetLabelTruncationLength') || 20 |
555 | 0 | A | B | C | D | dec |
---|
0 | X | X | X | 0 | 1 | 0 | X | X | 0 | 1 | 1 | 0 | X | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 |
| defined $branches and ref $branches eq 'HASH' and defined $$branches{$one_facet} and ref $$branches{$one_facet} eq 'HASH' |
581 | 0 | | $number_of_facets > 6 and $expanded_facet ne $link_value |
585 | 0 | | $$facets_info{$link_value}{'label_value'} =~ /Libraries/ and 'C4::Context'->preference('singleBranchMode') |
751 | 0 | | $stem =~ /(and$|or$|not$)/ or length $stem < 3 |
765 | 0 | | 'C4::Context'->preference('QueryStemming') || 0 |
766 | 0 | | 'C4::Context'->preference('QueryWeightFields') || 0 |
767 | 0 | | 'C4::Context'->preference('QueryFuzzy') || 0 |
772 | 0 | | $index eq 'kw' or not $index |
781 | 0 | | $stemming and $stemmed_operand |
1050 | 0 | | 'C4::Context'->preference('QueryStemming') || 0 |
1051 | 0 | | 'C4::Context'->preference('QueryAutoTruncate') || 0 |
1052 | 0 | | 'C4::Context'->preference('QueryWeightFields') || 0 |
1053 | 0 | | 'C4::Context'->preference('QueryFuzzy') || 0 |
1054 | 0 | | 'C4::Context'->preference('QueryRemoveStopwords') || 0 |
1081 | 0 | | not $cclq and $query =~ /(?:^|\W)([\w-]+)(,[\w-]+)*[:=]/g |
1139 | 0 | | $operands[$i] =~ /\w(:|=)/ or $scan |
1151 | 0 | | $index eq 'nb' or $index eq 'ns' |
1179 | 0 | | $indexes_set or not $index or $index =~ /(st-|phr|ext|wrdl|nb|ns)/ |
1192 | 0 | | $stopwords_removed and $DEBUG |
1342 | 0 | | $limit or $query |
1359 | 0 | | $query or $limit |
1363 | 0 | | $query or $limit |
1423 | 0 | | not $search_context or $search_context ne 'intranet' |
1481 | 0 | | $hits and $offset + $results_per_page <= $hits |
1507 | 0 | A | B | C | D | dec |
---|
0 | X | 0 | X | 0 | 0 | X | 1 | 0 | 0 | 0 | X | 1 | 1 | 1 | 1 | 0 | 0 | X | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | X | X | 1 |
| $search_context eq 'opac' && 'C4::Context'->preference('AuthorisedValueImages') || $search_context eq 'intranet' && 'C4::Context'->preference('StaffAuthorisedValueImages') |
1512 | 0 | A | B | C | D | dec |
---|
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | X | 1 | 0 | 1 | X | X | 1 | 1 | X | X | X | 1 |
| $$oldbiblio{'normalized_isbn'} or $$oldbiblio{'normalized_oclc'} or $$oldbiblio{'normalized_ean'} or $$oldbiblio{'normalized_upc'} |
1572 | 0 | | $marcflavor eq 'MARC21' or $marcflavor eq 'NORMARC' |
1654 | 0 | | $$item{'onloan'} and not C4::Members::GetHideLostItemsPreference($$userenv{'number'}) && $$item{'itemlost'} |
| 0 | | C4::Members::GetHideLostItemsPreference($$userenv{'number'}) && $$item{'itemlost'} |
1688 | 0 | A | B | C | D | E | dec |
---|
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | X | 1 | 0 | 0 | 1 | X | X | 1 | 0 | 1 | X | X | X | 1 | 1 | X | X | X | X | 1 |
| $$item{'wthdrawn'} or $$item{'itemlost'} or $$item{'damaged'} or $$item{'notforloan'} or $items_count > 20 |
1711 | 0 | A | B | C | D | E | F | G | dec |
---|
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | X | 1 | 0 | 0 | 0 | 0 | 1 | X | X | 1 | 0 | 0 | 0 | 1 | X | X | X | 1 | 0 | 0 | 1 | X | X | X | X | 1 | 0 | 1 | X | X | X | X | X | 1 | 1 | X | X | X | X | X | X | 1 |
| $$item{'wthdrawn'} or $$item{'itemlost'} or $$item{'damaged'} or $$item{'notforloan'} > 0 or $$item{'hideatopac'} or $reservestatus eq 'Waiting' or $transfertwhen ne '' |
1728 | 0 | A | B | C | D | dec |
---|
0 | 0 | X | X | 0 | 0 | 1 | 0 | X | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | X | 0 | X | 0 | 1 | X | 1 | 0 | 0 | 1 | X | 1 | 1 | 1 |
| !$$item{'damaged'} || 'C4::Context'->preference('AllowHoldsOnDamagedItems') and not $$item{'itemlost'} and not $$item{'withdrawn'} |
1762 | 0 | | $is_opac and $hideatopac_count >= $items_count |
1763 | 0 | | $hidelostitems and $itemlost_count >= $items_count |
1806 | 0 | | 'C4::Context'->preference('AlternateHoldingsField') and $items_count == 0 |
1809 | 0 | | 'C4::Context'->preference('AlternateHoldingsSeparator') || ' ' |
1835 | 0 | | not $scan and $search_context eq 'opac' and 'C4::Context'->preference('OPACXSLTResultsDisplay') |
1879 | 0 | | scalar @$itemtypes > 0 and $criteria ne 'itemtype' |
2128 | 0 | | $operator and $left ne 'keyword' |
2130 | 0 | | $operator eq '=' and $right =~ /%/ |
2150 | 0 | | $right =~ /^\d+$/ and $value =~ /\D/ |
2280 | 0 | | $sth->fetchrow || 0 |
2336 | 0 | | $ordering eq 'author_za' or $ordering eq 'author_dsc' |
2644 | 0 | | defined $isbn and $isbn->is_valid |
2706 | 0 | | $field->subfield('3') or $field->subfield('9') |
2735 | 0 | | $$_[0] =~ /[A-z]/ and $$_[0] ne 'a' |
2778 | 0 | | $string ||= '""' |