line |
true |
false |
branch |
26
|
66 |
41 |
unless $self->crisis_exists($h->node1, $h->node2)
|
50
|
147 |
83 |
if (@hates)
|
54
|
115 |
115 |
if (@crises)
|
61
|
17 |
213 |
if ($action == 0) { }
|
|
25 |
188 |
elsif ($action == 1) { }
|
|
21 |
167 |
elsif ($action == 2) { }
|
|
21 |
146 |
elsif ($action == 3) { }
|
63
|
6 |
11 |
unless $picked_hate
|
64
|
11 |
0 |
if (not $self->war_exists($picked_hate->node1, $picked_hate->node2))
|
72
|
15 |
10 |
unless $picked_crisis
|
73
|
10 |
0 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
81
|
16 |
5 |
unless $picked_crisis
|
82
|
5 |
0 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
90
|
10 |
11 |
unless $picked_crisis
|
91
|
9 |
2 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
107
|
10 |
11 |
if (my $crisis = $self->crisis_exists($node1, $node2)) { }
|
109
|
10 |
0 |
if (not $crisis->is_max_crisis)
|
133
|
5 |
0 |
if (my $crisis = $self->crisis_exists($node1, $node2))
|
136
|
2 |
3 |
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)) { }
|