| lib/BalanceOfPower/World.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 26 | 57.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 855 | 0 | 0 | 5 | $nation1->production_for_export >= 25 and $nation2->internal_disorder_status ne 'Civil war' |
| 956 | 4 | 0 | 0 | $self->get_treaties_for_nation($nation2->name) >= $nation2->treaty_limit and not $present_treaty |
| 967 | 3 | 0 | 1 | $present_treaty and $present_treaty->type ne 'alliance' |
| line | l | !l | condition |
|---|---|---|---|
| 624 | 0 | 4 | $under_infl ||= '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 439 | 4 | 0 | 0 | not $quote or $quote == 0 |
| 564 | 2 | 0 | 4 | $self->war_busy($attacker->name) or $self->war_busy($defender->name) |
| 875 | 3 | 10 | 183 | $self->at_civil_war($n) || $self->at_war($n) |
| 956 | 0 | 0 | 4 | $self->get_treaties_for_nation($nation1->name) >= $nation1->treaty_limit or $self->get_treaties_for_nation($nation2->name) >= $nation2->treaty_limit and not $present_treaty |
| 1028 | 3 | 2 | 5 | $self->war_busy($from) or $self->war_busy($n) |