Condition Coverage

lib/BalanceOfPower/Nation/Role/IA.pm
Criterion Covered Total %
condition 8 18 44.4


and 3 conditions

line !l l&&!r l&&r condition
102 0 0 0 $supd and $supd->node1 eq $other
172 2 0 1 $wealth and $enemy_wealth
180 1 0 0 $progress_delta > 0 and $progress_delta < 0.8
194 0 0 3 $world->empire($self->name) and $world->empire($enemy->name)
0 3 0 $world->empire($self->name) and $world->empire($enemy->name) and $world->empire($self->name) > $world->empire($enemy->name)

or 3 conditions

line l !l&&r !l&&!r condition
22 4 10 55 $world->at_war($self->name) or $world->at_civil_war($self->name)