| line |
true |
false |
branch |
|
94
|
122 |
3 |
unless $self->debug
|
|
111
|
2 |
0 |
if defined $self->cache_dir
|
|
137
|
2 |
39 |
if ($self->use_cache and not $skip_cache)
|
|
139
|
1 |
1 |
if (defined $cached)
|
|
153
|
0 |
40 |
unless ($response->is_success)
|
|
159
|
0 |
40 |
if $@
|
|
161
|
0 |
40 |
ref $data eq 'ARRAY' ? :
|
|
164
|
1 |
39 |
if ($self->use_cache and not $skip_cache)
|
|
175
|
0 |
40 |
unless ref $response eq "HASH"
|
|
178
|
40 |
0 |
if (exists $response->{'data'})
|
|
188
|
0 |
32 |
unless defined $data
|
|
190
|
32 |
0 |
if (ref $data eq 'ARRAY') { }
|
|
|
0 |
0 |
elsif (ref $data eq 'HASH') { }
|
|
207
|
32 |
0 |
ref $response eq 'HASH' ? :
|
|
228
|
4 |
0 |
unless $pagination and $pagination->{'hasNextPage'}
|
|
307
|
5 |
0 |
if (ref $data eq "HASH" and not exists $data->{'id'})
|
|
337
|
0 |
3 |
unless $data and ref $data eq "ARRAY"
|
|
379
|
0 |
0 |
if ($self->use_cache)
|
|
381
|
0 |
0 |
if ($cache_file->is_file)
|
|
383
|
0 |
0 |
if ($cached and ref $cached eq "HASH")
|
|
386
|
0 |
0 |
if ($cached_time >= $current_hour)
|
|
402
|
0 |
0 |
if ($self->use_cache)
|
|
467
|
38 |
1 |
if $self->_items_cache
|
|
500
|
0 |
19 |
unless defined $component
|
|
501
|
0 |
19 |
ref $component eq 'HASH' ? :
|
|
516
|
1 |
3 |
unless ($item)
|
|
522
|
2 |
1 |
if (@$crafting) { }
|
|
526
|
6 |
0 |
if $mat_name
|
|
538
|
6 |
0 |
if ($item) { }
|
|
565
|
0 |
16 |
if ($depth > $max_depth)
|
|
571
|
0 |
16 |
unless ($item)
|
|
579
|
11 |
5 |
unless (@$crafting)
|
|
586
|
0 |
5 |
if ($seen{$key})
|
|
596
|
13 |
0 |
if $mat_name
|
|
612
|
8 |
0 |
if ($item) { }
|