Condition Coverage

lib/BalanceOfPower/World.pm
Criterion Covered Total %
condition 14 26 53.8


and 3 conditions

line !l l&&!r l&&r condition
855 0 0 8 $nation1->production_for_export >= 25 and $nation2->internal_disorder_status ne 'Civil war'
956 1 0 0 $self->get_treaties_for_nation($nation2->name) >= $nation2->treaty_limit and not $present_treaty
967 1 0 0 $present_treaty and $present_treaty->type ne 'alliance'

or 2 conditions

line l !l condition
624 0 4 $under_infl ||= ''

or 3 conditions

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 227 $self->at_civil_war($n) || $self->at_war($n)
956 0 0 1 $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)