line |
true |
false |
branch |
91
|
0 |
0 |
unless ($$self{'api_key'}) |
98
|
0 |
0 |
unless (exists $$self{'delay'}) |
155
|
0 |
0 |
if ($$self{'delay'}) |
161
|
0 |
0 |
if ($response->is_success) { } |
165
|
0 |
0 |
if (length $$image_ref == 0) |
172
|
0 |
0 |
if ($width == 1 and $height == 1) |
173
|
0 |
0 |
if ($$self{'not_found'} eq 'return_zero') |
178
|
0 |
0 |
if ($$self{'directory'}) { } |
179
|
0 |
0 |
if ($ret = $self->_store_image($isbn, \$response->content)) { } |
201
|
0 |
0 |
unless (open DLFILE, '>', $file) |
217
|
0 |
0 |
if ($$self{'last_access'} > 0) |
218
|
0 |
0 |
if ($now - $$self{'last_access'} < $$self{'delay'}) |