Branch Coverage

blib/lib/Games/Domino.pm
Criterion Covered Total %
branch 4 60 6.6


line true false branch
84 0 1 if ($self->cheat) { }
110 0 0 if (defined $index) { }
111 0 0 if ($index =~ /^B$/i) { }
116 0 0 if $self->debug
123 0 0 if (defined $tile) { }
124 0 0 if $self->debug
197 0 0 if (scalar @{$self->stock;} == 2) { }
201 0 0 if ($c_b < $h_b) { }
0 0 elsif ($c_b > $h_b) { }
215 0 0 if (scalar @{$self->human->bank;} == 0) { }
0 0 elsif (scalar @{$self->computer->bank;} == 0) { }
222 0 0 if ($h < $c) { }
0 0 elsif ($h > $c) { }
234 0 0 if ($self->debug)
282 0 1 unless scalar @{$self->{'stock'};}
297 0 0 unless defined $message
308 0 0 unless defined $state
378 0 0 if (defined $tile) { }
379 0 0 if $self->debug
384 0 0 if $self->debug
392 0 0 if (not defined $self->{'board'} or scalar @{$self->{'board'};} == 0)
401 0 0 if ($self->{'board_r'} == $tile->left) { }
0 0 elsif ($self->{'board_r'} == $tile->right) { }
421 0 0 if ($self->{'board_l'} == $tile->left) { }
0 0 elsif ($self->{'board_l'} == $tile->right) { }
446 0 0 if (defined $self->{'action'} and scalar @{$self->{'action'};} == 2) { }
456 0 0 if ($self->current->name eq 'H') { }
468 0 0 if (scalar @{$self->board;}) { }
525 6 21 $R == $L ? :
538 0 0 if ($self->current->name eq 'H') { }