| line | % | coverage | condition |
| 213 | 0 | | $$result{'hits'} && $$result{'hits'} > 0 |
| 264 | 0 | | defined $max_results and $offset + $max_results < $hits |
| 322 | 0 | | 'C4::Context'->preference('maxRecordsForFacets') || 20 |
| 335 | 0 | | $scan and $DEBUG |
| 364 | 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' |
| 404 | 0 | | $sort_by and not $scan |
| 470 | 0 | | not $scan and $servers[$i - 1] =~ /biblioserver/ |
| 528 | 0 | | $number_of_facets < 6 or $expanded_facet eq $link_value or $$facets_info{$link_value}{'expanded'} |
| 539 | 0 | | 'C4::Context'->preference('FacetLabelTruncationLength') || 20 |
| 547 | 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' |
| 573 | 0 | | $number_of_facets > 6 and $expanded_facet ne $link_value |
| 577 | 0 | | $$facets_info{$link_value}{'label_value'} =~ /Libraries/ and 'C4::Context'->preference('singleBranchMode') |
| 743 | 0 | | $stem =~ /(and$|or$|not$)/ or length $stem < 3 |
| 757 | 0 | | 'C4::Context'->preference('QueryStemming') || 0 |
| 758 | 0 | | 'C4::Context'->preference('QueryWeightFields') || 0 |
| 759 | 0 | | 'C4::Context'->preference('QueryFuzzy') || 0 |
| 764 | 0 | | $index eq 'kw' or not $index |
| 773 | 0 | | $stemming and $stemmed_operand |
| 1042 | 0 | | 'C4::Context'->preference('QueryStemming') || 0 |
| 1043 | 0 | | 'C4::Context'->preference('QueryAutoTruncate') || 0 |
| 1044 | 0 | | 'C4::Context'->preference('QueryWeightFields') || 0 |
| 1045 | 0 | | 'C4::Context'->preference('QueryFuzzy') || 0 |
| 1046 | 0 | | 'C4::Context'->preference('QueryRemoveStopwords') || 0 |
| 1073 | 0 | | not $cclq and $query =~ /(?:^|\W)([\w-]+)(,[\w-]+)*[:=]/g |
| 1131 | 0 | | $operands[$i] =~ /\w(:|=)/ or $scan |
| 1143 | 0 | | $index eq 'nb' or $index eq 'ns' |
| 1171 | 0 | | $indexes_set or not $index or $index =~ /(st-|phr|ext|wrdl|nb|ns)/ |
| 1184 | 0 | | $stopwords_removed and $DEBUG |
| 1333 | 0 | | $limit or $query |
| 1350 | 0 | | $query or $limit |
| 1354 | 0 | | $query or $limit |
| 1414 | 0 | | not $search_context or $search_context ne 'intranet' |
| 1472 | 0 | | $hits and $offset + $results_per_page <= $hits |
| 1498 | 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') |
| 1503 | 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'} |
| 1563 | 0 | | $marcflavor eq 'MARC21' or $marcflavor eq 'NORMARC' |
| 1646 | 0 | | $$item{'onloan'} and not C4::Members::GetHideLostItemsPreference($$userenv{'number'}) && $$item{'itemlost'} |
| 0 | | C4::Members::GetHideLostItemsPreference($$userenv{'number'}) && $$item{'itemlost'} |
| 1681 | 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 |
| 1704 | 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 '' |
| 1721 | 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'} |
| 1756 | 0 | | $is_opac and $hideatopac_count >= $items_count |
| 1757 | 0 | | $hidelostitems and $itemlost_count >= $items_count |
| 1778 | 0 | | not $scan and 'C4::Context'->preference($interface . 'XSLTResultsDisplay') |
| 1811 | 0 | | 'C4::Context'->preference('AlternateHoldingsField') and $items_count == 0 |
| 1814 | 0 | | 'C4::Context'->preference('AlternateHoldingsSeparator') || ' ' |
| 1867 | 0 | | scalar @$itemtypes > 0 and $criteria ne 'itemtype' |
| 2116 | 0 | | $operator and $left ne 'keyword' |
| 2118 | 0 | | $operator eq '=' and $right =~ /%/ |
| 2138 | 0 | | $right =~ /^\d+$/ and $value =~ /\D/ |
| 2268 | 0 | | $sth->fetchrow || 0 |
| 2324 | 0 | | $ordering eq 'author_za' or $ordering eq 'author_dsc' |
| 2632 | 0 | | defined $isbn and $isbn->is_valid |
| 2667 | 0 | | $string ||= '""' |