lib/BalanceOfPower/Player/Role/Broker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 20 | 40.0 |
line | true | false | branch |
---|---|---|---|
44 | 2 | 1 | if (exists $self->wallet->{$nation}) { } |
59 | 8 | 5 | if (exists $self->wallet->{$nation}) { } |
112 | 0 | 2 | if $self->money < 0 |
118 | 0 | 4 | if ($self->stocks($nation) > 0) |
120 | 0 | 0 | if ($self->money > 50) { } |
136 | 0 | 0 | if ($self->war_bonds($nation) > 0) |
146 | 0 | 0 | if ($self->war_bonds($nation) > 0) |
159 | 0 | 1 | if ($self->stocks($nation) > 0) |
208 | 0 | 28 | if (exists $self->control_orders->{$nation}) { } |
255 | 0 | 0 | unless $data |