Branch Coverage

lib/BalanceOfPower/Commands/DeleteRoute.pm
Criterion Covered Total %
branch 2 12 16.6


line true false branch
24 0 0 if ($result->{'status'} == 1) { }
43 0 6 if (@trade_ko > 1) { }
0 6 elsif (@trade_ko == 1) { }
49 0 0 unless ($self->world->exists_treaty_by_type($actor->name, $to_delete, 'commercial'))
58 0 0 if (@older_trade_ko > 0)
62 0 0 unless ($self->world->exists_treaty_by_type($actor->name, $to_delete, 'commercial'))