line | % | coverage | condition |
644 | 0 | | exists $$item_ref{'barcode'} and defined $$item_ref{'barcode'} |
647 | 0 | | not exists $$item_ref{'itemnumber'} or $$item_ref{'itemnumber'} != $existing_itemnumber |
655 | 0 | | exists $$item_ref{'homebranch'} and defined $$item_ref{'homebranch'} |
665 | 0 | | exists $$item_ref{'holdingbranch'} and defined $$item_ref{'holdingbranch'} |
739 | 0 | | $tag and $subfield |
827 | 0 | | $tag and $subfield |
923 | 0 | | defined $orderby and grep $orderby, @ordervalues |
1028 | 0 | | not $offset and $size |
1085 | 0 | | $dbh->prepare('SELECT * FROM items WHERE items.biblioitemnumber = ?') || die($dbh->errstr) |
1111 | 0 | | $dbh->prepare($query2) || die($dbh->errstr) |
1220 | 0 | | $userenv and $$userenv{'flags'} % 2 != 1 |
1329 | 0 | | $$a{'publisheddate'} || $$a{'enumchron'} |
| 0 | | $$b{'publisheddate'} || $$b{'enumchron'} |
1411 | 0 | | 'C4::Context'->preference('marcflavour') eq 'MARC21' or 'C4::Context'->preference('marcflavour') eq 'NORMARC' |
1545 | 0 | | $marcflavor eq 'MARC21' or $marcflavor eq 'NORMARC' |
1744 | 0 | | exists $$authorised_values{$$this_authorised_value{'category'}} and $$authorised_values{$$this_authorised_value{'category'}} eq $$this_authorised_value{'authorised_value'} |
1808 | 0 | | defined $$itemrecord{$_} && $$itemrecord{$_} ne '' |
1814 | 0 | | GetFrameworkCode($biblionumber) || '' |
1817 | 0 | | defined $unlinked_item_subfields and $#$unlinked_item_subfields > -1 |
1945 | 0 | | exists $$item{'notforloan'} and !defined($$item{'notforloan'}) || $$item{'notforloan'} eq '' |
1949 | 0 | | exists $$item{'damaged'} and !defined($$item{'damaged'}) || $$item{'damaged'} eq '' |
1953 | 0 | | exists $$item{'itemlost'} and !defined($$item{'itemlost'}) || $$item{'itemlost'} eq '' |
1957 | 0 | | exists $$item{'wthdrawn'} and !defined($$item{'wthdrawn'}) || $$item{'wthdrawn'} eq '' |
1961 | 0 | | exists $$item{'location'} and not exists $$item{'permanent_location'} |
2041 | 0 | | $$item{'dateaccessioned'} ||= 'C4::Dates'->new->output('iso') |
2042 | 0 | | $$item{$_} ||= 0 |
2099 | 0 | | $$item{'datelastseen'} || $today |
| 0 | | $$item{'replacementpricedate'} || $today |
2206 | 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'} |
2321 | 0 | | defined $$item{$_} && $$item{$_} ne '' |
2328 | 0 | | defined $tag and defined $subfield |
2335 | 0 | | defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1 |
2392 | 0 | | defined $$subfield[1] and $$subfield[1] ne '' and not $$marcstructure{$tag}{$$subfield[0]}{'kohafield'} |
2412 | 0 | | defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1 |
2433 | 0 | | defined $xml and $xml ne '' |
2593 | 0 | | $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and 'C4::Context'->preference('itemcallnumber') |
2604 | 0 | | $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and $defaultvalues and $$defaultvalues{'callnumber'} |
2615 | 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'} |
2626 | 0 | | $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.location' and $defaultvalues and $$defaultvalues{'location'} |
2634 | 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') |
2641 | 0 | | 'C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'flags'} % 2 != 1 |
2680 | 0 | | $$class_sources{$class_source}{'used'} or $class_source eq $default_source |
2747 | 0 | | $itemrecord and $itemrecord->field($itemtagfield) |