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 |
347
|
0 |
0 |
unless my $hold = $self->native_place_hold(@_) |
357
|
0 |
0 |
unless my $item_id = shift() |
364
|
0 |
0 |
if $data->{'errorCode'} eq 'PatronDoesntHaveTitleOnHold' |
395
|
0 |
0 |
if ($formats) { } |
401
|
0 |
0 |
if ($actions) |
402
|
0 |
0 |
if (my $format_action = $actions->{'format'}) |
404
|
0 |
0 |
unless $_->{'name'} eq 'formatType' |
407
|
0 |
0 |
unless exists $formats->{$format} |
429
|
0 |
0 |
if ($item->{'isFormatLockedIn'}) |
430
|
0 |
0 |
unless my $formats = $item->{'formats'} |
464
|
0 |
0 |
unless my $checkout = $self->native_checkout(@_) |
480
|
0 |
0 |
unless my $id = shift() |
482
|
0 |
0 |
unless my $formats = $self->native_checkout_formats($id) |
483
|
0 |
0 |
unless $formats = $formats->{'formats'} |
489
|
0 |
0 |
unless my $id = shift() |
490
|
0 |
0 |
unless my $formats = shift() |
495
|
0 |
0 |
unless uc $_->{'reserveId'} eq $id_uc |
498
|
0 |
0 |
if (my $lt = $_->{'linkTemplates'}) |
508
|
0 |
0 |
unless my $checkout_formats = shift() |
510
|
0 |
0 |
unless $available |
523
|
0 |
0 |
unless my $item_id = shift() |
524
|
0 |
0 |
unless my $format = shift() |
526
|
0 |
0 |
unless my $lock = $self->native_lock_format($item_id, $format) |
527
|
0 |
0 |
unless uc $lock->{'reserveId'} eq uc $item_id |
547
|
0 |
0 |
unless my $item_id = shift() |
548
|
0 |
0 |
unless my $format = shift() |
549
|
0 |
0 |
unless my $error_url = shift() |
553
|
0 |
0 |
$success_url ? : |
556
|
0 |
0 |
unless my $download_url = _extract_link($response_data, 'contentLink') || _extract_link($response_data, 'contentlink') |
565
|
0 |
0 |
unless my $item_id = shift() |
572
|
0 |
0 |
if $data->{'errorCode'} eq 'PatronDoesntHaveTitleCheckedOut' |
591
|
0 |
0 |
unless my $patron = $self->get_response($url) |
592
|
0 |
0 |
if (my $collection_token = $patron->{'collectionToken'}) |
614
|
0 |
0 |
unless my $item_id = shift() |
619
|
0 |
0 |
if $auto_checkout |
620
|
0 |
0 |
if ($email) { } |
631
|
0 |
0 |
if ($data->{'errorCode'} eq 'AlreadyOnWaitList') |
632
|
0 |
0 |
if (my $holds = $self->native_holds) |
634
|
0 |
0 |
unless $holds->{'holds'} |
635
|
0 |
0 |
if (uc $_->{'reserveId'} eq $item_id_uc) |
673
|
0 |
0 |
unless my $id = shift() |
681
|
0 |
0 |
unless my $id = shift() |
689
|
0 |
0 |
unless my $item_id = shift() |
693
|
0 |
0 |
if (my $checkouts = $self->native_checkouts) |
695
|
0 |
0 |
unless $checkouts->{'checkouts'} |
696
|
0 |
0 |
if (uc $_->{'reserveId'} eq $item_id_uc) |
697
|
0 |
0 |
if ($format) |
698
|
0 |
0 |
if ($_->{'isFormatLockedIn'}) |
699
|
0 |
0 |
if lc $_->{'formats'}[0]{'formatType'} eq lc $format |
700
|
0 |
0 |
unless $allow_multi |
722
|
0 |
0 |
unless my $item_id = shift() |
723
|
0 |
0 |
unless my $format = shift() |
740
|
0 |
0 |
if $format |