Branch Coverage

lib/BalanceOfPower/Dice.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
34 94 699 if (defined $out) { }
55 53 845 if (defined $out) { }
76 2 157 if (defined $out) { }
96 69 564 if ($message =~ /^Choosing advisor for (.*)$/)
101 34 35 if ($self->forced_advisor) { }
110 5 64 if ($self->only_one_nation_acting)
112 4 1 if ($self->only_one_nation_acting ne $nation)
122 257 307 if (@array == 0)
135 155 1695 if (exists $self->tricks->{$message}) { }
138 78 77 if (exists $self->trick_counters->{$message}) { }
147 149 6 if (exists $self->tricks->{$message}[$index]) { }
170 183 2300 if ($tricked)