line |
true |
false |
branch |
26
|
69 |
36 |
unless $self->crisis_exists($h->node1, $h->node2)
|
50
|
150 |
80 |
if (@hates)
|
54
|
87 |
143 |
if (@crises)
|
61
|
16 |
214 |
if ($action == 0) { }
|
|
26 |
188 |
elsif ($action == 1) { }
|
|
17 |
171 |
elsif ($action == 2) { }
|
|
21 |
150 |
elsif ($action == 3) { }
|
63
|
6 |
10 |
unless $picked_hate
|
64
|
10 |
0 |
if (not $self->war_exists($picked_hate->node1, $picked_hate->node2))
|
72
|
18 |
8 |
unless $picked_crisis
|
73
|
8 |
0 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
81
|
12 |
5 |
unless $picked_crisis
|
82
|
5 |
0 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
90
|
13 |
8 |
unless $picked_crisis
|
91
|
8 |
0 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
107
|
8 |
10 |
if (my $crisis = $self->crisis_exists($node1, $node2)) { }
|
109
|
7 |
1 |
if (not $crisis->is_max_crisis)
|
133
|
5 |
0 |
if (my $crisis = $self->crisis_exists($node1, $node2))
|
136
|
3 |
2 |
if (not $crisis->is_crisis) { }
|
164
|
0 |
0 |
if ($n && $b->involve($n) || !$n and $b->get_crisis_level > $level)
|
168
|
0 |
0 |
if ($self->war_exists($b->node1, $b->node2)) { }
|