| lib/BalanceOfPower/Commands/DeclareWar.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 4 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 7 | 0 | if (!$self->world->is_under_influence($t) || $self->world->is_under_influence($t) ne $self->actor and not $self->world->war_busy($t)) |
| 39 | 1 | 6 | if ($actor->good_prey($enemy, $self->world)) |