| line | % | coverage | branch |
| 147 | 0 | T | F | if $resdate |
| 148 | 0 | T | F | unless $resdate |
| 149 | 0 | T | F | if ($expdate) { } |
| 154 | 0 | T | F | if ('C4::Context'->preference('AllowHoldDateInFuture')) |
| 161 | 0 | T | F | if ($found eq 'W') |
| 167 | 0 | T | F | if ($fee > 0) |
| 197 | 0 | T | F | if ('C4::Context'->preference('emailLibrarianWhenHoldIsPlaced')) |
| 200 | 0 | T | F | if (my $letter = C4::Letters::GetPreparedLetter('module', 'reserves', 'letter_code', 'HOLDPLACED', 'branchcode', $branch, 'tables', {'branches', $branch_details, 'borrowers', $borrower, 'biblio', $biblionumber})) |
| 225 | 0 | T | F | unless $const eq 'o' or $const eq 'e' |
| 250 | 0 | T | F | unless my($biblionumber) = shift @_ |
| 270 | 0 | T | F | unless ($all_dates) |
| 281 | 0 | T | F | if ($$data{'constrainttype'} eq 'o') |
| 300 | 0 | T | F | if ($count > 1) { } |
| 336 | 0 | T | F | unless ($all_dates) |
| 357 | 0 | T | F | if ($status) { } |
| 391 | 0 | T | F | if (@hostitems) |
| 396 | 0 | T | F | if CanItemBeReserved($borrowernumber, $item) |
| 416 | 0 | T | F | 'C4::Context'->preference('item-level_itypes') ? : |
| 449 | 0 | T | F | if ($controlbranch eq 'ItemHomeLibrary') { } |
| 0 | T | F | elsif ($controlbranch eq 'PatronLibrary') { } |
| 459 | 0 | T | F | if (my $rights = $sth->fetchrow_hashref) { } |
| 470 | 0 | T | F | if $itemtype ne '*' |
| 473 | 0 | T | F | if ($itemtype eq '*') { } |
| 480 | 0 | T | F | if (my $rowcount = $sthcount->fetchrow_hashref) |
| 485 | 0 | T | F | if ($reservecount < $allowedreserves) { } |
| 529 | 0 | T | F | if ($checkreserves) |
| 531 | 0 | T | F | if ($$iteminfo{'holdingbranch'} ne $$checkreserves{'branchcode'}) { } |
| 592 | 0 | T | F | if ($fee > 0) |
| 603 | 0 | T | F | if ($const eq 'a') { } |
| 610 | 0 | T | F | if (@$bibitems->{'biblioitemnumber'} == $$data{'biblioitemnumber'}) |
| 617 | 0 | T | F | if ($const eq 'o') { } |
| 618 | 0 | T | F | if ($found == 1) |
| 623 | 0 | T | F | if ($found == 0) |
| 647 | 0 | T | F | if (my $isdata = $sth3->fetchrow_hashref) { } |
| 655 | 0 | T | F | if ($allissued == 0) |
| 659 | 0 | T | F | if (my $rdata = $rsth->fetchrow_hashref) { } |
| 709 | 0 | T | F | if ($frombranch) |
| 714 | 0 | T | F | if ($frombranch) { } |
| 773 | 0 | T | F | if ('C4::Context'->preference('item-level_itypes')) { } |
| 798 | 0 | T | F | if ($item) { } |
| 809 | 0 | T | F | unless $itemnumber |
| 813 | 0 | T | F | if $notforloan_per_item > 0 or $notforloan_per_itemtype |
| 823 | 0 | T | F | if (scalar @reserves) |
| 826 | 0 | T | F | if ($$res{'itemnumber'} == $itemnumber and $$res{'priority'} == 0) { } |
| 830 | 0 | T | F | if ($$res{'priority'} and $$res{'priority'} < $priority) |
| 835 | 0 | T | F | if $$branchitemrule{'holdallowed'} == 0 |
| 836 | 0 | T | F | if $$branchitemrule{'holdallowed'} == 1 and $branch ne $$borrowerinfo{'branchcode'} |
| 846 | 0 | T | F | if ($highest) |
| 878 | 0 | T | F | if ('C4::Context'->preference('ExpireReservesMaxPickUpDelay')) |
| 887 | 0 | T | F | if ($charge) |
| 918 | 0 | T | F | if ($item and $borr) { } |
| 1033 | 0 | T | F | if $rank eq 'W' |
| 1034 | 0 | T | F | if $rank eq 'n' |
| 1036 | 0 | T | F | if ($rank eq 'del') { } |
| 0 | T | F | elsif ($rank =~ /^\d+/ and $rank > 0) { } |
| 1140 | 0 | T | F | unless ($priority == 0) |
| 1167 | 0 | T | F | if ('C4::Context'->preference('ReturnToShelvingCart') and $newstatus) |
| 1200 | 0 | T | F | $request && $$request{'found'} eq 'W' ? : |
| 1204 | 0 | T | F | if ($transferToDo) { } |
| 1228 | 0 | T | F | if not $transferToDo and not $already_on_shelf |
| 1230 | 0 | T | F | if ('C4::Context'->preference('ReturnToShelvingCart')) |
| 1377 | 0 | T | F | if ('C4::Context'->preference('item-level_itypes')) { } |
| 1392 | 0 | T | F | if (my($notforloan) = $sth->fetchrow_array) |
| 1393 | 0 | T | F | if $notforloan |
| 1397 | 0 | T | F | if $$item{'itemlost'} or $$item{'notforloan'} > 0 or $$item{'damaged'} and not 'C4::Context'->preference('AllowHoldsOnDamagedItems') or $$item{'wthdrawn'} or $notforloan_per_itemtype |
| 1404 | 0 | T | F | if ('C4::Context'->preference('AllowOnShelfHolds')) { } |
| 1431 | 0 | T | F | if ($where eq 'up' or $where eq 'down') { } |
| 0 | T | F | elsif ($where eq 'top') { } |
| 0 | T | F | elsif ($where eq 'bottom') { } |
| 1434 | 0 | T | F | $where eq 'up' ? : |
| 1491 | 0 | T | F | if ($rank eq 'del') |
| 1494 | 0 | T | F | if ($rank eq 'W' or $rank eq '0') |
| 1533 | 0 | T | F | if ($borrowernumber == $priority[$i]{'borrowernumber'}) |
| 1540 | 0 | T | F | if ($key > -1 and $rank ne 'del' and $rank > 0) |
| 1569 | 0 | T | F | unless ($ignoreSetLowestRank) |
| 1623 | 0 | T | F | if (my $data = $sth->fetchrow_hashref) |
| 1626 | 0 | T | F | if @results |
| 1653 | 0 | T | F | if (my $data = $sth->fetchrow_hashref) |
| 1656 | 0 | T | F | if @results |
| 1709 | 0 | T | F | if ($which_address eq 'OFF') { } |
| 1718 | 0 | T | F | if ($to_address or $$borrower{'smsalertnumber'}) { } |
| 1721 | 0 | T | F | if not defined $$messagingprefs{'letter_code'} |
| 1740 | 0 | T | F | unless my $letter = C4::Letters::GetPreparedLetter('module', 'reserves', 'letter_code', $letter_code, 'branchcode', $$reserve{'branchcode'}, 'tables', {'branches', $branch_details, 'borrowers', $borrower, 'biblio', $biblionumber, 'reserves', $reserve, 'items', $$reserve{'itemnumber'}}, 'substitute', {'today', 'C4::Dates'->new->output}) |
| 1756 | 0 | T | F | if ($print_mode) |
| 1766 | 0 | T | F | if (grep {$_ eq 'email';} @{$$messagingprefs{'transports'};}) |
| 1777 | 0 | T | F | if (grep {$_ eq 'sms';} @{$$messagingprefs{'transports'};}) |
| 1814 | 0 | T | F | if $min_priority |
| 1849 | 0 | T | F | unless $res |
| 1854 | 0 | T | F | if ($$res{'borrowernumber'} == $borrowernumber) { } |
| 1864 | 0 | T | F | unless $$_{'borrowernumber'} == $borrowernumber |
| 1865 | 0 | T | F | unless $$_{'biblionumber'} == $biblionumber |
| 1871 | 0 | T | F | if ($borr_res) |
| 1876 | 0 | T | F | if ($cancelreserve) |
| 1897 | 0 | T | F | if (my $data = $sth->fetchrow_hashref) |
| 1940 | 0 | T | F | unless my $reserve = GetReserveInfo($borrowernumber, $biblionumber) |