Branch Coverage

blib/lib/Games/Sudoku/Component/Table.pm
Criterion Covered Total %
branch 25 42 59.5


line true false branch
58 0 2458 unless $this->_check($row)
59 0 2458 unless $this->_check($col)
80 12886 7784 unless my(@allowed) = $cell->allowed
82 607 7177 if (scalar @allowed < $min)
90 256 7528 if $min == 1
92 449 21 $next ? :
102 0 81 unless my(@allowed) = $cell->allowed
103 1 80 if (scalar @allowed < $min)
107 81 0 if (scalar @allowed == $min)
122 72 0 if $cell->realvalue
140 160 2 unless my $tmpvalue = $cell->tmpvalue
141 2 0 if ($cell->is_allowed($tmpvalue))
152 0 0 if $cell->realvalue
161 15 496 unless $cell->realvalue
169 0 6 ref $_[0] ? :
193 0 1 ref $_[0] ? :
207 0 81 if ($options{'color_by_block'})
208 0 0 $this->_block_id($row, $col) % 2 ? :
211 0 81 if ($options{'color_by_cell'})
212 0 0 $this->_cell_id($row, $col) % 2 ? :
215 0 81 $class ? :