line | % | coverage | condition |
645 | 0 | | exists $$item_ref{'barcode'} and defined $$item_ref{'barcode'} |
648 | 0 | | not exists $$item_ref{'itemnumber'} or $$item_ref{'itemnumber'} != $existing_itemnumber |
656 | 0 | | exists $$item_ref{'homebranch'} and defined $$item_ref{'homebranch'} |
666 | 0 | | exists $$item_ref{'holdingbranch'} and defined $$item_ref{'holdingbranch'} |
740 | 0 | | $tag and $subfield |
828 | 0 | | $tag and $subfield |
924 | 0 | | defined $orderby and grep $orderby, @ordervalues |
1029 | 0 | | not $offset and $size |
1086 | 0 | | $dbh->prepare('SELECT * FROM items WHERE items.biblioitemnumber = ?') || die($dbh->errstr) |
1112 | 0 | | $dbh->prepare($query2) || die($dbh->errstr) |
1224 | 0 | | $userenv and $$userenv{'flags'} % 2 != 1 |
1333 | 0 | | $$a{'publisheddate'} || $$a{'enumchron'} |
| 0 | | $$b{'publisheddate'} || $$b{'enumchron'} |
1415 | 0 | | 'C4::Context'->preference('marcflavour') eq 'MARC21' or 'C4::Context'->preference('marcflavour') eq 'NORMARC' |
1549 | 0 | | $marcflavor eq 'MARC21' or $marcflavor eq 'NORMARC' |
1748 | 0 | | exists $$authorised_values{$$this_authorised_value{'category'}} and $$authorised_values{$$this_authorised_value{'category'}} eq $$this_authorised_value{'authorised_value'} |
1812 | 0 | | defined $$itemrecord{$_} && $$itemrecord{$_} ne '' |
1818 | 0 | | GetFrameworkCode($biblionumber) || '' |
1821 | 0 | | defined $unlinked_item_subfields and $#$unlinked_item_subfields > -1 |
1949 | 0 | | exists $$item{'notforloan'} and !defined($$item{'notforloan'}) || $$item{'notforloan'} eq '' |
1953 | 0 | | exists $$item{'damaged'} and !defined($$item{'damaged'}) || $$item{'damaged'} eq '' |
1957 | 0 | | exists $$item{'itemlost'} and !defined($$item{'itemlost'}) || $$item{'itemlost'} eq '' |
1961 | 0 | | exists $$item{'wthdrawn'} and !defined($$item{'wthdrawn'}) || $$item{'wthdrawn'} eq '' |
1965 | 0 | | exists $$item{'location'} and not exists $$item{'permanent_location'} |
2045 | 0 | | $$item{'dateaccessioned'} ||= 'C4::Dates'->new->output('iso') |
2046 | 0 | | $$item{$_} ||= 0 |
2103 | 0 | | $$item{'datelastseen'} || $today |
| 0 | | $$item{'replacementpricedate'} || $today |
2210 | 0 | | 'C4::Context'->preference('HomeOrHoldingBranch') or 'homebranch' |
| 0 | | not 'C4::Context'->userenv->{'flags'} & 1 and 'C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'branch'} ne $$item{'C4::Context'->preference('HomeOrHoldingBranch') or 'homebranch'} |
2325 | 0 | | defined $$item{$_} && $$item{$_} ne '' |
2332 | 0 | | defined $tag and defined $subfield |
2339 | 0 | | defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1 |
2396 | 0 | | defined $$subfield[1] and $$subfield[1] ne '' and not $$marcstructure{$tag}{$$subfield[0]}{'kohafield'} |
2416 | 0 | | defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1 |
2437 | 0 | | defined $xml and $xml ne '' |
2598 | 0 | | $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and 'C4::Context'->preference('itemcallnumber') |
2609 | 0 | | $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and $defaultvalues and $$defaultvalues{'callnumber'} |
2620 | 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 |
| $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.holdingbranch' || $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.homebranch' and $defaultvalues and $$defaultvalues{'branchcode'} |
2631 | 0 | | $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.location' and $defaultvalues and $$defaultvalues{'location'} |
2639 | 0 | | 500 <= $tag and $tag < 600 |
| 0 | A | B | C | D | dec |
---|
0 | 0 | 0 | X | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | X | X | 1 | 1 | X | X | X | 1 |
| length $defaultvalue > 100 or 'C4::Context'->preference('marcflavour') eq 'UNIMARC' and (300 <= $tag and $tag < 400 and $subfield eq 'a') or 'C4::Context'->preference('marcflavour') eq 'MARC21' and (500 <= $tag and $tag < 600) |
| 0 | | 300 <= $tag and $tag < 400 and $subfield eq 'a' |
| 0 | | 'C4::Context'->preference('marcflavour') eq 'UNIMARC' and (300 <= $tag and $tag < 400 and $subfield eq 'a') |
2646 | 0 | | 'C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'flags'} % 2 != 1 |
2685 | 0 | | $$class_sources{$class_source}{'used'} or $class_source eq $default_source |
2750 | 0 | | $itemrecord and $itemrecord->field($itemtagfield) |