Branch Coverage

lib/BalanceOfPower/Role/Analyst.pm
Criterion Covered Total %
branch 7 28 25.0


line true false branch
39 1 0 if ($in_the_middle) { }
56 1 0 if (@treaties > @supports + @rebel_supports) { }
67 1 0 if (@crises > @wars) { }
75 1 0 $self->get_statistics_value($turn, $nation, 'order') ? :
108 0 0 if ($supps)
155 0 0 unless ($self->at_civil_war($nation))
165 0 0 if $sup
166 0 0 if $rebsup
178 0 0 if (exists $wars{$w->war_id}) { }
247 2 0 if ($player_obj->stocks($nation) > 0 or $player_obj->influence($nation) > 0)
304 0 0 if ($self->at_war($nation->name)) { }
0 0 elsif ($self->at_civil_war($nation->name)) { }
329 1 0 unless (exists $grouped_wars{$w->war_id})
359 0 5 if ($self->at_civil_war($n))