Condition Coverage

lib/Catan/Event/YearOfPlenty.pm
Criterion Covered Total %
condition 2 6 33.3


and 3 conditions

line !l l&&!r l&&r condition
12 0 0 1 $trade and $trade->isa('Catan::Game::Trade')
16 0 0 1 2 == @{$trade->players;} and -2 == &sum(map({$_->amount;} @{$trade->resources('bank');}))