line | % | coverage | branch |
143 | 0 | T | F | if ($itemnumber) { } |
157 | 0 | T | F | if ($serial) |
163 | 0 | T | F | if (not $$data{'itype'}) |
186 | 0 | T | F | unless ($itemnumber) |
245 | 0 | T | F | @_ ? : |
246 | 0 | T | F | @_ ? : |
248 | 0 | T | F | if (@_) |
262 | 0 | T | F | unless ($$item{'itype'}) |
273 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
352 | 0 | T | F | if (%item_errors) |
361 | 0 | T | F | if $error |
365 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
451 | 0 | T | F | unless exists $$item{$item_field} |
490 | 0 | T | F | unless (defined $biblionumber) |
494 | 0 | T | F | @_ ? : |
495 | 0 | T | F | @_ ? : |
498 | 0 | T | F | if (@_) |
503 | 0 | T | F | unless $$item{'itemnumber'} = $itemnumber |
505 | 0 | T | F | if $$item{'itemlost'} |
523 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
592 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
644 | 0 | T | F | if (exists $$item_ref{'barcode'} and defined $$item_ref{'barcode'}) |
646 | 0 | T | F | if ($existing_itemnumber) |
647 | 0 | T | F | if (not exists $$item_ref{'itemnumber'} or $$item_ref{'itemnumber'} != $existing_itemnumber) |
655 | 0 | T | F | if (exists $$item_ref{'homebranch'} and defined $$item_ref{'homebranch'}) |
657 | 0 | T | F | unless (defined $branch_name) |
665 | 0 | T | F | if (exists $$item_ref{'holdingbranch'} and defined $$item_ref{'holdingbranch'}) |
667 | 0 | T | F | unless (defined $branch_name) |
736 | 0 | T | F | unless $fwk |
739 | 0 | T | F | if ($tag and $subfield) |
750 | 0 | T | F | if (my($authorisedvaluecat) = $sth->fetchrow) { } |
824 | 0 | T | F | unless $fwk |
827 | 0 | T | F | if ($tag and $subfield) |
837 | 0 | T | F | if (my($authorisedvaluecat) = $sth->fetchrow) { } |
923 | 0 | T | F | if (defined $orderby and grep $orderby, @ordervalues) |
966 | 0 | T | F | if ($statushash) |
968 | 0 | T | F | if (scalar @{$$statushash{$authvfield};} > 0) |
975 | 0 | T | F | if ($minlocation) |
980 | 0 | T | F | if ($maxlocation) |
985 | 0 | T | F | if ($datelastseen) |
991 | 0 | T | F | if ($location) |
996 | 0 | T | F | if ($branchcode) |
997 | 0 | T | F | if ($branch eq 'homebranch') { } |
1005 | 0 | T | F | if ($itemtype) |
1010 | 0 | T | F | if ($ignoreissued) |
1015 | 0 | T | F | if (@where_strings) |
1026 | 0 | T | F | if $offset |
1028 | 0 | T | F | if (not $offset and $size) |
1089 | 0 | T | F | unless $sth->execute($bibitem) |
1097 | 0 | T | F | if (my $data2 = $sth2->fetchrow_hashref) { } |
1112 | 0 | T | F | unless $sth2->execute($$data{'itemnumber'}) |
1171 | 0 | T | F | 'C4::Context'->preference('item-level_itypes') ? : |
1211 | 0 | T | F | if (my $idata = $isth->fetchrow_hashref) |
1218 | 0 | T | F | if ('C4::Context'->preference('IndependantBranches')) |
1220 | 0 | T | F | if ($userenv and $$userenv{'flags'} % 2 != 1) |
1221 | 0 | T | F | if $$idata{'bcode'} ne $$userenv{'branch'} |
1225 | 0 | T | F | if ($$data{'serial'}) |
1236 | 0 | T | F | if (my $bdata = $bsth->fetchrow_hashref) |
1251 | 0 | T | F | if ($authorised_valuecode) |
1273 | 0 | T | F | if ($authorised_valuecode) |
1282 | 0 | T | F | if (my $rstdata = $restrictedstatus->fetchrow_hashref) |
1298 | 0 | T | F | if ($authorised_valuecode) |
1319 | 0 | T | F | if $$data2{'timestamp'} |
1320 | 0 | T | F | if $$data2{'cardnumber'} |
1321 | 0 | T | F | if $$data2{'borrowernumber'} |
1328 | 0 | T | F | if ($serial) { } |
1411 | 0 | T | F | if ('C4::Context'->preference('marcflavour') eq 'MARC21' or 'C4::Context'->preference('marcflavour') eq 'NORMARC') { } |
| 0 | T | F | elsif ('C4::Context'->preference('marcflavour') eq 'UNIMARC') { } |
1418 | 0 | T | F | if ($$hostitemInfo{'itemnumber'} eq $linkeditemnumber) |
1430 | 0 | T | F | if ($$hostitemInfo{'itemnumber'} eq $linkeditemnumber) |
1451 | 0 | T | F | 'C4::Context'->preference('item-level_itypes') ? : |
1458 | 0 | T | F | if $number_of_branches |
1464 | 0 | T | F | if $number_of_itemtypes |
1545 | 0 | T | F | if ($marcflavor eq 'MARC21' or $marcflavor eq 'NORMARC') { } |
| 0 | T | F | elsif ($marcflavor eq 'UNIMARC') { } |
1559 | 0 | T | F | if (my $itemnumbers = get_itemnumbers_of($hostbiblionumber)->{$hostbiblionumber}) |
1564 | 0 | T | F | if ($itemnumber eq $linkeditemnumber) |
1628 | 0 | T | F | if ($@) |
1640 | 0 | T | F | if (exists $$item{$field}) { } |
1647 | 0 | T | F | unless defined $val |
1650 | 0 | T | F | if (any sub {
$val eq $_;
}
, @{$$hidingrules{$field};}) |
1705 | 0 | T | F | if (exists $$iteminfo{$field}) |
1744 | 0 | T | F | if (exists $$authorised_values{$$this_authorised_value{'category'}} and $$authorised_values{$$this_authorised_value{'category'}} eq $$this_authorised_value{'authorised_value'}) |
1747 | 0 | T | F | if (defined $$this_authorised_value{'imageurl'}) |
1808 | 0 | T | F | defined $$itemrecord{$_} && $$itemrecord{$_} ne '' ? : |
1817 | 0 | T | F | if (defined $unlinked_item_subfields and $#$unlinked_item_subfields > -1) |
1875 | 0 | T | F | if $source_column eq 'BUILDER' |
1912 | 0 | T | F | if $source_column eq 'BUILDER' |
1913 | 0 | T | F | if (exists $$item{$source_column}) { } |
1920 | 0 | T | F | if ($must_recalc) |
1945 | 0 | T | F | if (exists $$item{'notforloan'} and !defined($$item{'notforloan'}) || $$item{'notforloan'} eq '') |
1949 | 0 | T | F | if (exists $$item{'damaged'} and !defined($$item{'damaged'}) || $$item{'damaged'} eq '') |
1953 | 0 | T | F | if (exists $$item{'itemlost'} and !defined($$item{'itemlost'}) || $$item{'itemlost'} eq '') |
1957 | 0 | T | F | if (exists $$item{'wthdrawn'} and !defined($$item{'wthdrawn'}) || $$item{'wthdrawn'} eq '') |
1961 | 0 | T | F | if (exists $$item{'location'} and not exists $$item{'permanent_location'}) |
1964 | 0 | T | F | if (exists $$item{'timestamp'}) |
2140 | 0 | T | F | if (defined $sth->errstr) { } |
2168 | 0 | T | F | if ($return == 1) |
2174 | 0 | T | F | if ($order) |
2206 | 0 | T | F | if ($onloan) { } |
| 0 | T | F | elsif (not 'C4::Context'->userenv->{'flags'} & 1 and 'C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'branch'} ne $$item{'C4::Context'->preference('HomeOrHoldingBranch') or 'homebranch'}) { } |
2221 | 0 | T | F | if ($reserve) { } |
| 0 | T | F | elsif ($countanalytics > 0) { } |
2258 | 0 | T | F | if ('C4::Context'->dbh->errstr) |
2315 | 0 | T | F | if (@_) |
2321 | 0 | T | F | /^items\./ ? : |
| 0 | T | F | defined $$item{$_} && $$item{$_} ne '' ? : |
2328 | 0 | T | F | unless defined $tag and defined $subfield |
2331 | 0 | T | F | if (my $field = $item_marc->field($tag)) { } |
2335 | 0 | T | F | if (defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1) |
2363 | 0 | T | F | exists $$item_ref{'barcode'} ? : |
2388 | 0 | T | F | if ($#fields > -1) |
2392 | 0 | T | F | if (defined $$subfield[1] and $$subfield[1] ne '' and not $$marcstructure{$tag}{$$subfield[0]}{'kohafield'}) |
2412 | 0 | T | F | if (defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1) |
2433 | 0 | T | F | unless defined $xml and $xml ne '' |
2437 | 0 | T | F | if ($#fields > -1) |
2455 | 0 | T | F | if ('C4::Context'->preference('NoZebra')) { } |
2513 | 0 | T | F | if ($tagfield < 10) { } |
2514 | 0 | T | F | if ($record->field($tagfield)) { } |
2523 | 0 | T | F | if (@$subfield[0] eq $insubfield) |
2549 | 0 | T | F | if $bibnum |
2554 | 0 | T | F | unless $tagslib |
2556 | 0 | T | F | if ($itemnum) |
2563 | 0 | T | F | if ($tag ne '') |
2568 | 0 | T | F | if subfield_is_koha_internal_p $subfield |
2569 | 0 | T | F | if $$tagslib{$tag}{$subfield}{'tab'} ne '10' |
2580 | 0 | T | F | if $$tagslib{$tag}{$subfield}{'hidden'} |
2583 | 0 | T | F | if ($itemrecord) |
2586 | 0 | T | F | unless $defaultvalue |
2587 | 0 | T | F | if (not defined $defaultvalue) |
2593 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and 'C4::Context'->preference('itemcallnumber')) |
2597 | 0 | T | F | if ($itemrecord) |
2599 | 0 | T | F | if ($temp) |
2604 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and $defaultvalues and $$defaultvalues{'callnumber'}) |
2608 | 0 | T | F | if ($itemrecord) |
2611 | 0 | T | F | unless ($temp) |
2612 | 0 | T | F | if $defaultvalues |
2615 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.holdingbranch' || $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.homebranch' and $defaultvalues and $$defaultvalues{'branchcode'}) |
2619 | 0 | T | F | if ($itemrecord) |
2622 | 0 | T | F | unless ($temp) |
2623 | 0 | T | F | if $defaultvalues |
2626 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.location' and $defaultvalues and $$defaultvalues{'location'}) |
2629 | 0 | T | F | if $itemrecord |
2630 | 0 | T | F | unless ($temp) |
2631 | 0 | T | F | if $defaultvalues |
2634 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'authorised_value'}) { } |
| 0 | T | F | elsif ($$tagslib{$tag}{$subfield}{'value_builder'}) { } |
| 0 | T | F | elsif ($tag eq '') { } |
| 0 | T | F | elsif ($$tagslib{$tag}{$subfield}{'hidden'}) { } |
| 0 | T | F | elsif (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)) { } |
2640 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'authorised_value'} eq 'branches') { } |
| 0 | T | F | elsif ($$tagslib{$tag}{$subfield}{'authorised_value'} eq 'itemtypes') { } |
| 0 | T | F | elsif ($$tagslib{$tag}{$subfield}{'authorised_value'} eq 'cn_source') { } |
2641 | 0 | T | F | if ('C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'flags'} % 2 != 1) { } |
2645 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2654 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2666 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2674 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2680 | 0 | T | F | unless $$class_sources{$class_source}{'used'} or $class_source eq $default_source |
2689 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2708 | 0 | T | F | if (do $plugin) { } |
2747 | 0 | T | F | if ($itemrecord and $itemrecord->field($itemtagfield)) |