Branch Coverage

lib/Catan/Event/Robber.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
26 0 0 if $self->active
32 0 0 unless $_->resource_total > 7
44 0 0 if $pair->{'player'}->resource_total <= $pair->{'target_total'}
54 0 0 unless $self->active
56 0 0 if @{$self->{'players_to_concede'};}
57 0 0 unless $self->moved
67 0 0 unless $tile
76 0 0 unless $tile and $tile->isa('Catan::Map::Tile') and $players and ref $players eq 'ARRAY'
79 0 0 if @{$self->{'players_to_concede'};}
81 0 0 unless $self->{'active'}
83 0 0 if $self->{'moved'}
86 0 0 if $self->{'location'}->uuid eq $tile->uuid
98 0 0 if ($property->location->is_adjacent($tile))
108 0 0 unless @players_to_steal
118 0 0 unless $self->{'active'}
119 0 0 unless $self->{'moved'}
121 0 0 if (grep(($_->number == $player->number), @{$$self{'players_to_steal'};})) { }