| line |
true |
false |
branch |
|
15
|
1 |
2 |
unless ($quest_id)
|
|
26
|
0 |
2 |
unless (@$quests)
|
|
29
|
0 |
0 |
unless $_->id and lc $_->id eq lc $quest_id
|
|
32
|
0 |
0 |
$match ? :
|
|
35
|
0 |
2 |
unless (@$quests)
|
|
42
|
1 |
1 |
if ($app->json)
|
|
60
|
1 |
0 |
if ($quest->description)
|
|
67
|
1 |
0 |
if ($quest->objectives and @{$quest->objectives;})
|
|
75
|
0 |
1 |
if ($quest->required_items and @{$quest->required_items;})
|
|
85
|
0 |
1 |
if $quest->xp_reward
|
|
86
|
0 |
1 |
if $quest->reputation_reward
|
|
88
|
0 |
1 |
if (@reward_parts)
|
|
93
|
1 |
0 |
if ($quest->rewards and @{$quest->rewards;})
|
|
94
|
1 |
0 |
unless @reward_parts
|
|
96
|
2 |
0 |
if (ref $reward eq "HASH")
|
|
99
|
0 |
2 |
ref $item eq 'HASH' ? :
|
|
100
|
0 |
2 |
unless defined $name
|
|
107
|
0 |
1 |
if ($quest->prev_quest or $quest->next_quest)
|
|
113
|
0 |
1 |
if ($quest->last_updated)
|
|
120
|
1 |
1 |
unless defined $value
|