| line |
true |
false |
branch |
|
58
|
0 |
0 |
$_[0]->test ? : |
|
94
|
0 |
0 |
if (my $query = delete $params->{'query'}) |
|
95
|
0 |
0 |
if ref $query |
|
99
|
0 |
0 |
if $page_size |
|
100
|
0 |
0 |
if (my $page_number = delete $params->{'page'}) |
|
101
|
0 |
0 |
unless $params->{'limit'} |
|
104
|
0 |
0 |
if (my $sort = delete $params->{'sort'}) |
|
107
|
0 |
0 |
if ref $params->{'formats'} |
|
111
|
0 |
0 |
unless $res->{'products'} |
|
113
|
0 |
0 |
if ($short_response) { } |
|
116
|
0 |
0 |
unless my $native_metadata = $self->native_item_metadata($_) |
|
119
|
0 |
0 |
unless $item |
|
127
|
0 |
0 |
if (my $page_size = $res->{'limit'}) |
|
129
|
0 |
0 |
if $tot > $page_size * $pages |
|
150
|
0 |
0 |
if (my $formats = $item->{'formats'}) |
|
154
|
0 |
0 |
if (my $images = $item->{'images'}) |
|
177
|
0 |
0 |
unless my $id = shift() |
|
184
|
0 |
0 |
unless my $metadata = shift() |
|
190
|
0 |
0 |
if $_->{'role'} eq 'Author' |
|
194
|
0 |
0 |
if (my $images = $metadata->{'images'}) |
|
198
|
0 |
0 |
if (my $languages = $metadata->{'languages'}) |
|
202
|
0 |
0 |
if (my $subjects = $metadata->{'subjects'}) |
|
206
|
0 |
0 |
if (my $formats = $metadata->{'formats'}) |
|
222
|
0 |
0 |
unless my $id = shift() |
|
231
|
0 |
0 |
unless my $id = shift() |
|
234
|
0 |
0 |
unless my $availability = $self->item_availability($id) |
|
235
|
0 |
0 |
unless $availability->{'available'} |
|
280
|
0 |
0 |
unless my $search_data = shift() |
|
281
|
0 |
0 |
unless my $url = _extract_link($search_data, $f) |
|
305
|
0 |
0 |
unless my $item = shift() |
|
307
|
0 |
0 |
unless my $url = _extract_link($item, 'metadata') |
|
313
|
0 |
0 |
unless my $item = shift() |
|
328
|
0 |
0 |
unless my $collection_token = $self->collection_token |
|
330
|
0 |
0 |
if ($collection_token) |
|
340
|
0 |
0 |
unless my $href = $data->{'links'}{$link}{'href'} |
|
353
|
0 |
0 |
unless my $url = shift() |
|
361
|
0 |
0 |
unless my $data = shift() |
|
363
|
0 |
0 |
if $error |