line |
true |
false |
branch |
22
|
14 |
55 |
if ($world->at_war($self->name) or $world->at_civil_war($self->name)) { }
|
34
|
19 |
58 |
if ($a eq 'domestic') { }
|
|
7 |
51 |
elsif ($a eq 'economy') { }
|
|
32 |
19 |
elsif ($a eq 'military') { }
|
46
|
47 |
30 |
if $decision
|
59
|
47 |
210 |
if $order
|
99
|
0 |
4 |
if ($world->already_in_military_support($self->name))
|
102
|
0 |
0 |
if ($supd and $supd->node1 eq $other) { }
|
111
|
0 |
4 |
if $world->diplomacy_status($self->name, $other) eq 'HATE'
|
122
|
10 |
2 |
$crisis ? :
|
124
|
9 |
3 |
if ($self->army < 5)
|
132
|
1 |
2 |
if ($enemy->army > 0) { }
|
140
|
0 |
3 |
if ($army_ratio < 1)
|
143
|
0 |
0 |
if ($reverse_army_ratio > 1.2) { }
|
155
|
3 |
0 |
if ($self->internal_disorder_status eq 'Peace') { }
|
|
0 |
0 |
elsif ($self->internal_disorder_status eq 'Terrorism') { }
|
|
0 |
0 |
elsif ($self->internal_disorder_status eq 'Insurgence') { }
|
172
|
1 |
2 |
if ($wealth and $enemy_wealth) { }
|
174
|
0 |
1 |
if ($enemy_wealth > $wealth) { }
|
180
|
0 |
1 |
if ($progress_delta > 0 and $progress_delta < 0.8)
|
194
|
0 |
3 |
if ($world->empire($self->name) and $world->empire($enemy->name) and $world->empire($self->name) > $world->empire($enemy->name))
|
198
|
3 |
0 |
if ($war_points + $level >= 4) { }
|