line |
true |
false |
branch |
90
|
0 |
0 |
if (defined $query and length $query)
|
94
|
0 |
0 |
if ($opts{'start'})
|
98
|
0 |
0 |
if ($opts{'num'})
|
102
|
0 |
0 |
if (my $sort = $opts{'sort'})
|
105
|
0 |
0 |
if ($sort =~ /^[+]/) { }
|
|
0 |
0 |
elsif ($sort =~ /^[-]/) { }
|
124
|
0 |
0 |
if (not defined $res) { }
|
|
0 |
0 |
elsif ($res->{'code'}) { }
|
139
|
0 |
0 |
if ($prop->{'attribute'} eq 'dc_identifier_localid')
|
146
|
0 |
0 |
if defined $id
|
161
|
0 |
0 |
unless defined $id
|
163
|
0 |
0 |
if (my $hit = $self->cache->get($id))
|
173
|
0 |
0 |
if (exists $res->{'code'})
|
179
|
0 |
0 |
if ($res->{'mediaDataList'}) { }
|
195
|
0 |
0 |
unless defined $id and defined $field
|
201
|
0 |
0 |
unless ($record)
|
228
|
0 |
0 |
unless defined $id and defined $callback
|
234
|
0 |
0 |
unless ($record)
|
241
|
0 |
0 |
unless $mediaObjectId
|
249
|
0 |
0 |
unless $export_job
|
259
|
0 |
0 |
if $status =~ /^(failed|cancelled)$/
|
263
|
0 |
0 |
if ($downloadUrl =~ /^htt/)
|
281
|
0 |
0 |
if ($response->is_success) { }
|
309
|
0 |
0 |
if ($body) { }
|
312
|
0 |
0 |
if ($response->is_success) { }
|
328
|
0 |
0 |
wantarray ? :
|