line |
true |
false |
branch |
26
|
51 |
23 |
unless $self->crisis_exists($h->node1, $h->node2)
|
50
|
119 |
111 |
if (@hates)
|
54
|
60 |
170 |
if (@crises)
|
61
|
22 |
208 |
if ($action == 0) { }
|
|
15 |
193 |
elsif ($action == 1) { }
|
|
26 |
167 |
elsif ($action == 2) { }
|
|
13 |
154 |
elsif ($action == 3) { }
|
63
|
11 |
11 |
unless $picked_hate
|
64
|
11 |
0 |
if (not $self->war_exists($picked_hate->node1, $picked_hate->node2))
|
72
|
12 |
3 |
unless $picked_crisis
|
73
|
2 |
1 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
81
|
22 |
4 |
unless $picked_crisis
|
82
|
4 |
0 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
90
|
9 |
4 |
unless $picked_crisis
|
91
|
4 |
0 |
unless ($self->war_exists($picked_crisis->node1, $picked_crisis->node2))
|
107
|
2 |
11 |
if (my $crisis = $self->crisis_exists($node1, $node2)) { }
|
109
|
2 |
0 |
if (not $crisis->is_max_crisis)
|
133
|
4 |
0 |
if (my $crisis = $self->crisis_exists($node1, $node2))
|
136
|
3 |
1 |
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)) { }
|