| line |
true |
false |
branch |
|
15
|
1 |
2 |
unless ($slug)
|
|
25
|
0 |
2 |
if (not @$items and $slug =~ /-/)
|
|
29
|
0 |
0 |
if $search_term ne $slug
|
|
34
|
14 |
2 |
unless $_->slug and lc $_->slug eq lc $slug
|
|
38
|
0 |
2 |
unless ($item)
|
|
39
|
0 |
0 |
if (@$items == 1) { }
|
|
|
0 |
0 |
elsif (@$items > 1) { }
|
|
53
|
1 |
1 |
if ($app->json)
|
|
75
|
1 |
0 |
if ($item->description)
|
|
80
|
1 |
0 |
if ($item->stats and %{$item->stats;})
|
|
87
|
0 |
1 |
if ($item->crafting_requirements and @{$item->crafting_requirements;})
|
|
96
|
0 |
1 |
if ($item->sold_by and @{$item->sold_by;})
|
|
99
|
0 |
0 |
if (ref $seller eq 'HASH') { }
|
|
107
|
0 |
1 |
if ($item->recycle_yield and %{$item->recycle_yield;})
|
|
114
|
0 |
1 |
if ($item->last_updated)
|
|
121
|
0 |
6 |
unless defined $value
|