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.2'; | ||||||
3 | 2 | 2 | 14 | use strict; | |||
2 | 5 | ||||||
2 | 60 | ||||||
4 | 2 | 2 | 10 | use warnings; | |||
2 | 4 | ||||||
2 | 52 | ||||||
5 | |||||||
6 | 2 | 2 | 10 | use parent 'Games::ABC_Path::Solver::Move'; | |||
2 | 4 | ||||||
2 | 10 | ||||||
7 | |||||||
8 | |||||||
9 | sub _format | ||||||
10 | { | ||||||
11 | return | ||||||
12 | 0 | 0 | "The only letter that can be at %(coords){coords} is %(letter){letter}. Invalidating it for all other cells."; | ||||
13 | } | ||||||
14 | |||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |