line |
true |
false |
branch |
46
|
141 |
213 |
if ($n1 ne $n2 and not $self->_diplomacy_exists($n1, $n2))
|
65
|
56 |
85 |
if $distance > 3
|
73
|
81 |
60 |
$side == 0 ? :
|
89
|
4 |
3 |
if ($n1 ne $n2)
|
113
|
0 |
1027 |
unless (defined $r)
|
128
|
115 |
6 |
if ($nation and $r->has_node($nation) or not $nation)
|
130
|
109 |
4 |
unless ($self->is_under_influence($r->node1) or $self->is_under_influence($r->node2))
|
149
|
29 |
47 |
if (grep {$_ eq $r->status;} @st_array)
|
170
|
0 |
32 |
unless $r
|
184
|
6 |
3 |
if ($other ne $nation_to)
|
201
|
0 |
51 |
unless $r
|
202
|
3 |
48 |
if $r->status eq 'ALLIANCE' or $r->status eq 'INFLUENCE PRESENT'
|
206
|
30 |
18 |
$dipl > 0 ? :
|
207
|
14 |
34 |
if ($present_status ne $actual_status) { }
|
210
|
0 |
14 |
if ($reason) { }
|
223
|
3 |
11 |
if ($actual_status eq 'HATE')
|
231
|
19 |
15 |
if ($dipl > 0) { }
|
239
|
29 |
5 |
if ($reason)
|
265
|
0 |
3 |
if ($treaty)
|
284
|
664 |
177 |
if ($n ne $node)
|
333
|
15 |
2 |
if ($rel->get_crisis_level == 0)
|
352
|
0 |
180 |
unless ($rel)
|
357
|
64 |
116 |
if ($rel->get_crisis_level > 0) { }
|
410
|
14 |
89 |
if ($rel and $rel->type eq $type || $rel->type eq 'alliance') { }
|
455
|
0 |
0 |
if ($treaty && $_->type eq $treaty || !$treaty and $nation && $_->involve($nation) || !$nation)
|