line |
true |
false |
branch |
58
|
0 |
0 |
$_[0]->test ? : |
77
|
0 |
0 |
unless my $user_id = shift() |
79
|
0 |
0 |
unless my $website_id = shift() |
80
|
0 |
0 |
unless my $authorization_name = shift() |
89
|
0 |
0 |
wantarray ? : |
94
|
0 |
0 |
unless my $user_id = shift() |
96
|
0 |
0 |
unless my $website_id = shift() |
97
|
0 |
0 |
unless my $authorization_name = shift() |
104
|
0 |
0 |
if ($password) { } |
168
|
0 |
0 |
unless my $redirect_uri = shift() |
171
|
0 |
0 |
unless my $library_id = $self->library_id |
173
|
0 |
0 |
defined $state_token ? : |
204
|
0 |
0 |
unless my $code = shift() |
205
|
0 |
0 |
unless my $redirect_uri = shift() |
215
|
0 |
0 |
wantarray ? : |
226
|
0 |
0 |
unless my $auth_token = shift() |
232
|
0 |
0 |
wantarray ? : |
237
|
0 |
0 |
unless my $auth_token = shift() |
248
|
0 |
0 |
if (my $auth_token = $self->auth_token) { } |
|
0 |
0 |
elsif (my $user_id = $self->user_id) { } |
262
|
0 |
0 |
unless my $request = shift() |
264
|
0 |
0 |
unless my $data = $self->SUPER::_request_access_token($request) |
267
|
0 |
0 |
if (my $auth_token = $data->{'refresh_token'}) |
277
|
0 |
0 |
if (my $collection_token = $self->SUPER::collection_token) |
282
|
0 |
0 |
unless my $collection_token = $self->SUPER::collection_token |
346
|
0 |
0 |
unless my $hold = $self->native_place_hold(@_) |
356
|
0 |
0 |
unless my $item_id = shift() |
363
|
0 |
0 |
if $data->{'errorCode'} eq 'PatronDoesntHaveTitleOnHold' |
393
|
0 |
0 |
if ($formats) { } |
399
|
0 |
0 |
if ($actions) |
400
|
0 |
0 |
if (my $format_action = $actions->{'format'}) |
402
|
0 |
0 |
unless $_->{'name'} eq 'formatType' |
405
|
0 |
0 |
unless exists $formats->{$format} |
427
|
0 |
0 |
if ($item->{'isFormatLockedIn'}) |
428
|
0 |
0 |
unless my $formats = $item->{'formats'} |
462
|
0 |
0 |
unless my $checkout = $self->native_checkout(@_) |
478
|
0 |
0 |
unless my $id = shift() |
480
|
0 |
0 |
unless my $formats = $self->native_checkout_formats($id) |
481
|
0 |
0 |
unless $formats = $formats->{'formats'} |
487
|
0 |
0 |
unless my $id = shift() |
488
|
0 |
0 |
unless my $formats = shift() |
493
|
0 |
0 |
unless uc $_->{'reserveId'} eq $id_uc |
496
|
0 |
0 |
if (my $lt = $_->{'linkTemplates'}) |
506
|
0 |
0 |
unless my $checkout_formats = shift() |
508
|
0 |
0 |
unless $available |
521
|
0 |
0 |
unless my $item_id = shift() |
522
|
0 |
0 |
unless my $format = shift() |
524
|
0 |
0 |
unless my $lock = $self->native_lock_format($item_id, $format) |
525
|
0 |
0 |
unless uc $lock->{'reserveId'} eq uc $item_id |
545
|
0 |
0 |
unless my $item_id = shift() |
546
|
0 |
0 |
unless my $format = shift() |
547
|
0 |
0 |
unless my $error_url = shift() |
551
|
0 |
0 |
$success_url ? : |
554
|
0 |
0 |
unless my $download_url = _extract_link($response_data, 'contentLink') || _extract_link($response_data, 'contentlink') |
563
|
0 |
0 |
unless my $item_id = shift() |
570
|
0 |
0 |
if $data->{'errorCode'} eq 'PatronDoesntHaveTitleCheckedOut' |
589
|
0 |
0 |
unless my $patron = $self->get_response($url) |
590
|
0 |
0 |
if (my $collection_token = $patron->{'collectionToken'}) |
612
|
0 |
0 |
unless my $item_id = shift() |
617
|
0 |
0 |
if $auto_checkout |
618
|
0 |
0 |
if ($email) { } |
629
|
0 |
0 |
if ($data->{'errorCode'} eq 'AlreadyOnWaitList') |
630
|
0 |
0 |
if (my $holds = $self->native_holds) |
632
|
0 |
0 |
unless $holds->{'holds'} |
633
|
0 |
0 |
if (uc $_->{'reserveId'} eq $item_id_uc) |
671
|
0 |
0 |
unless my $id = shift() |
679
|
0 |
0 |
unless my $id = shift() |
687
|
0 |
0 |
unless my $item_id = shift() |
691
|
0 |
0 |
if (my $checkouts = $self->native_checkouts) |
693
|
0 |
0 |
unless $checkouts->{'checkouts'} |
694
|
0 |
0 |
if (uc $_->{'reserveId'} eq $item_id_uc) |
695
|
0 |
0 |
if ($format) |
696
|
0 |
0 |
if ($_->{'isFormatLockedIn'}) |
697
|
0 |
0 |
if lc $_->{'formats'}[0]{'formatType'} eq lc $format |
698
|
0 |
0 |
unless $allow_multi |
720
|
0 |
0 |
unless my $item_id = shift() |
721
|
0 |
0 |
unless my $format = shift() |
738
|
0 |
0 |
if $format |