| lib/BalanceOfPower/Role/Warlord.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 18 | 26 | 69.2 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 71 | 0 | 12 | 0 | $hostile and $treaty | 
| 186 | 13 | 0 | 2 | $faction0_done == 1 and $faction == 1 | 
| 7 | 1 | 5 | $faction1_done == 1 and $faction == 0 | |
| 373 | 20 | 1 | 1 | $supported and $self->exists_treaty_by_type($attacker->name, $supported->node1, 'no aggression') | 
| 383 | 30 | 0 | 2 | $supported and $supported->army > 0 | 
| line | l | !l | condition | 
|---|---|---|---|
| 61 | 0 | 257 | shift() || 1 | 
| 114 | 7 | 0 | shift() || '' | 
| 115 | 7 | 0 | shift() || '' | 
| 511 | 5 | 2 | $internal_disorder ||= 0 | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 186 | 2 | 0 | 13 | $faction0_done == 1 and $faction == 1 or $faction1_done == 1 and $faction == 0 |