blib/lib/Games/ABC_Path/Solver/Move/LastRemainingLetterForCell.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 10 | 90.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | n/a | ||
total | 12 | 14 | 85.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Games::ABC_Path::Solver::Move::LastRemainingLetterForCell; | ||||||
2 | $Games::ABC_Path::Solver::Move::LastRemainingLetterForCell::VERSION = '0.6.0'; | ||||||
3 | 2 | 2 | 13 | use strict; | |||
2 | 5 | ||||||
2 | 48 | ||||||
4 | 2 | 2 | 11 | use warnings; | |||
2 | 4 | ||||||
2 | 58 | ||||||
5 | |||||||
6 | 2 | 2 | 13 | use parent 'Games::ABC_Path::Solver::Move'; | |||
2 | 4 | ||||||
2 | 10 | ||||||
7 | |||||||
8 | |||||||
9 | sub _format { | ||||||
10 | 0 | 0 | return "The only letter that can be at %(coords){coords} is %(letter){letter}. Invalidating it for all other cells."; | ||||
11 | } | ||||||
12 | |||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |