line | % | coverage | branch |
144 | 0 | T | F | if ($itemnumber) { } |
158 | 0 | T | F | if ($serial) |
164 | 0 | T | F | if (not $$data{'itype'}) |
187 | 0 | T | F | unless ($itemnumber) |
246 | 0 | T | F | @_ ? : |
247 | 0 | T | F | @_ ? : |
249 | 0 | T | F | if (@_) |
263 | 0 | T | F | unless ($$item{'itype'}) |
274 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
353 | 0 | T | F | if (%item_errors) |
362 | 0 | T | F | if $error |
366 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
452 | 0 | T | F | unless exists $$item{$item_field} |
491 | 0 | T | F | unless (defined $biblionumber) |
495 | 0 | T | F | @_ ? : |
496 | 0 | T | F | @_ ? : |
499 | 0 | T | F | if (@_) |
504 | 0 | T | F | unless $$item{'itemnumber'} = $itemnumber |
506 | 0 | T | F | if $$item{'itemlost'} |
524 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
593 | 0 | T | F | if 'C4::Context'->preference('CataloguingLog') |
645 | 0 | T | F | if (exists $$item_ref{'barcode'} and defined $$item_ref{'barcode'}) |
647 | 0 | T | F | if ($existing_itemnumber) |
648 | 0 | T | F | if (not exists $$item_ref{'itemnumber'} or $$item_ref{'itemnumber'} != $existing_itemnumber) |
656 | 0 | T | F | if (exists $$item_ref{'homebranch'} and defined $$item_ref{'homebranch'}) |
658 | 0 | T | F | unless (defined $branch_name) |
666 | 0 | T | F | if (exists $$item_ref{'holdingbranch'} and defined $$item_ref{'holdingbranch'}) |
668 | 0 | T | F | unless (defined $branch_name) |
737 | 0 | T | F | unless $fwk |
740 | 0 | T | F | if ($tag and $subfield) |
751 | 0 | T | F | if (my($authorisedvaluecat) = $sth->fetchrow) { } |
825 | 0 | T | F | unless $fwk |
828 | 0 | T | F | if ($tag and $subfield) |
838 | 0 | T | F | if (my($authorisedvaluecat) = $sth->fetchrow) { } |
924 | 0 | T | F | if (defined $orderby and grep $orderby, @ordervalues) |
967 | 0 | T | F | if ($statushash) |
969 | 0 | T | F | if (scalar @{$$statushash{$authvfield};} > 0) |
976 | 0 | T | F | if ($minlocation) |
981 | 0 | T | F | if ($maxlocation) |
986 | 0 | T | F | if ($datelastseen) |
992 | 0 | T | F | if ($location) |
997 | 0 | T | F | if ($branchcode) |
998 | 0 | T | F | if ($branch eq 'homebranch') { } |
1006 | 0 | T | F | if ($itemtype) |
1011 | 0 | T | F | if ($ignoreissued) |
1016 | 0 | T | F | if (@where_strings) |
1027 | 0 | T | F | if $offset |
1029 | 0 | T | F | if (not $offset and $size) |
1090 | 0 | T | F | unless $sth->execute($bibitem) |
1098 | 0 | T | F | if (my $data2 = $sth2->fetchrow_hashref) { } |
1113 | 0 | T | F | unless $sth2->execute($$data{'itemnumber'}) |
1172 | 0 | T | F | 'C4::Context'->preference('item-level_itypes') ? : |
1215 | 0 | T | F | if (my $idata = $isth->fetchrow_hashref) |
1222 | 0 | T | F | if ('C4::Context'->preference('IndependantBranches')) |
1224 | 0 | T | F | if ($userenv and $$userenv{'flags'} % 2 != 1) |
1225 | 0 | T | F | if $$idata{'bcode'} ne $$userenv{'branch'} |
1229 | 0 | T | F | if ($$data{'serial'}) |
1240 | 0 | T | F | if (my $bdata = $bsth->fetchrow_hashref) |
1255 | 0 | T | F | if ($authorised_valuecode) |
1277 | 0 | T | F | if ($authorised_valuecode) |
1286 | 0 | T | F | if (my $rstdata = $restrictedstatus->fetchrow_hashref) |
1302 | 0 | T | F | if ($authorised_valuecode) |
1323 | 0 | T | F | if $$data2{'timestamp'} |
1324 | 0 | T | F | if $$data2{'cardnumber'} |
1325 | 0 | T | F | if $$data2{'borrowernumber'} |
1332 | 0 | T | F | if ($serial) { } |
1415 | 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') { } |
1422 | 0 | T | F | if ($$hostitemInfo{'itemnumber'} eq $linkeditemnumber) |
1434 | 0 | T | F | if ($$hostitemInfo{'itemnumber'} eq $linkeditemnumber) |
1455 | 0 | T | F | 'C4::Context'->preference('item-level_itypes') ? : |
1462 | 0 | T | F | if $number_of_branches |
1468 | 0 | T | F | if $number_of_itemtypes |
1549 | 0 | T | F | if ($marcflavor eq 'MARC21' or $marcflavor eq 'NORMARC') { } |
| 0 | T | F | elsif ($marcflavor eq 'UNIMARC') { } |
1563 | 0 | T | F | if (my $itemnumbers = get_itemnumbers_of($hostbiblionumber)->{$hostbiblionumber}) |
1568 | 0 | T | F | if ($itemnumber eq $linkeditemnumber) |
1632 | 0 | T | F | if ($@) |
1644 | 0 | T | F | if (exists $$item{$field}) { } |
1651 | 0 | T | F | unless defined $val |
1654 | 0 | T | F | if (any sub {
$val eq $_;
}
, @{$$hidingrules{$field};}) |
1709 | 0 | T | F | if (exists $$iteminfo{$field}) |
1748 | 0 | T | F | if (exists $$authorised_values{$$this_authorised_value{'category'}} and $$authorised_values{$$this_authorised_value{'category'}} eq $$this_authorised_value{'authorised_value'}) |
1751 | 0 | T | F | if (defined $$this_authorised_value{'imageurl'}) |
1812 | 0 | T | F | defined $$itemrecord{$_} && $$itemrecord{$_} ne '' ? : |
1821 | 0 | T | F | if (defined $unlinked_item_subfields and $#$unlinked_item_subfields > -1) |
1879 | 0 | T | F | if $source_column eq 'BUILDER' |
1916 | 0 | T | F | if $source_column eq 'BUILDER' |
1917 | 0 | T | F | if (exists $$item{$source_column}) { } |
1924 | 0 | T | F | if ($must_recalc) |
1949 | 0 | T | F | if (exists $$item{'notforloan'} and !defined($$item{'notforloan'}) || $$item{'notforloan'} eq '') |
1953 | 0 | T | F | if (exists $$item{'damaged'} and !defined($$item{'damaged'}) || $$item{'damaged'} eq '') |
1957 | 0 | T | F | if (exists $$item{'itemlost'} and !defined($$item{'itemlost'}) || $$item{'itemlost'} eq '') |
1961 | 0 | T | F | if (exists $$item{'wthdrawn'} and !defined($$item{'wthdrawn'}) || $$item{'wthdrawn'} eq '') |
1965 | 0 | T | F | if (exists $$item{'location'} and not exists $$item{'permanent_location'}) |
1968 | 0 | T | F | if (exists $$item{'timestamp'}) |
2144 | 0 | T | F | if (defined $sth->errstr) { } |
2172 | 0 | T | F | if ($return == 1) |
2178 | 0 | T | F | if ($order) |
2210 | 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'}) { } |
2225 | 0 | T | F | if ($reserve) { } |
| 0 | T | F | elsif ($countanalytics > 0) { } |
2262 | 0 | T | F | if ('C4::Context'->dbh->errstr) |
2319 | 0 | T | F | if (@_) |
2325 | 0 | T | F | /^items\./ ? : |
| 0 | T | F | defined $$item{$_} && $$item{$_} ne '' ? : |
2332 | 0 | T | F | unless defined $tag and defined $subfield |
2335 | 0 | T | F | if (my $field = $item_marc->field($tag)) { } |
2339 | 0 | T | F | if (defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1) |
2367 | 0 | T | F | exists $$item_ref{'barcode'} ? : |
2392 | 0 | T | F | if ($#fields > -1) |
2396 | 0 | T | F | if (defined $$subfield[1] and $$subfield[1] ne '' and not $$marcstructure{$tag}{$$subfield[0]}{'kohafield'}) |
2416 | 0 | T | F | if (defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1) |
2437 | 0 | T | F | unless defined $xml and $xml ne '' |
2441 | 0 | T | F | if ($#fields > -1) |
2459 | 0 | T | F | if ('C4::Context'->preference('NoZebra')) { } |
2517 | 0 | T | F | if ($tagfield < 10) { } |
2518 | 0 | T | F | if ($record->field($tagfield)) { } |
2527 | 0 | T | F | if (@$subfield[0] eq $insubfield) |
2553 | 0 | T | F | if $bibnum |
2558 | 0 | T | F | unless $tagslib |
2560 | 0 | T | F | if ($itemnum) |
2567 | 0 | T | F | if ($tag ne '') |
2572 | 0 | T | F | if subfield_is_koha_internal_p $subfield |
2573 | 0 | T | F | if $$tagslib{$tag}{$subfield}{'tab'} ne '10' |
2585 | 0 | T | F | if $$tagslib{$tag}{$subfield}{'hidden'} |
2588 | 0 | T | F | if ($itemrecord) |
2591 | 0 | T | F | unless $defaultvalue |
2592 | 0 | T | F | if (not defined $defaultvalue) |
2598 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and 'C4::Context'->preference('itemcallnumber')) |
2602 | 0 | T | F | if ($itemrecord) |
2604 | 0 | T | F | if ($temp) |
2609 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and $defaultvalues and $$defaultvalues{'callnumber'}) |
2613 | 0 | T | F | if ($itemrecord) |
2616 | 0 | T | F | unless ($temp) |
2617 | 0 | T | F | if $defaultvalues |
2620 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.holdingbranch' || $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.homebranch' and $defaultvalues and $$defaultvalues{'branchcode'}) |
2624 | 0 | T | F | if ($itemrecord) |
2627 | 0 | T | F | unless ($temp) |
2628 | 0 | T | F | if $defaultvalues |
2631 | 0 | T | F | if ($$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.location' and $defaultvalues and $$defaultvalues{'location'}) |
2634 | 0 | T | F | if $itemrecord |
2635 | 0 | T | F | unless ($temp) |
2636 | 0 | T | F | if $defaultvalues |
2639 | 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)) { } |
2645 | 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') { } |
2646 | 0 | T | F | if ('C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'flags'} % 2 != 1) { } |
2650 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2659 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2671 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2679 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2685 | 0 | T | F | unless $$class_sources{$class_source}{'used'} or $class_source eq $default_source |
2694 | 0 | T | F | unless $$tagslib{$tag}{$subfield}{'mandatory'} |
2713 | 0 | T | F | if (do $plugin) { } |
2750 | 0 | T | F | if ($itemrecord and $itemrecord->field($itemtagfield)) |