| blib/lib/Games/ABC_Path/Solver/Move/LettersNotInVicinity.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::LettersNotInVicinity; | ||||||
| 2 | $Games::ABC_Path::Solver::Move::LettersNotInVicinity::VERSION = '0.6.2'; | ||||||
| 3 | 2 | 2 | 13 | use strict; | |||
| 2 | 4 | ||||||
| 2 | 55 | ||||||
| 4 | 2 | 2 | 10 | use warnings; | |||
| 2 | 3 | ||||||
| 2 | 52 | ||||||
| 5 | |||||||
| 6 | 2 | 2 | 8 | use parent 'Games::ABC_Path::Solver::Move'; | |||
| 2 | 5 | ||||||
| 2 | 9 | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | sub _format | ||||||
| 10 | { | ||||||
| 11 | return | ||||||
| 12 | 0 | 0 | "%(target){letter} cannot be at %(coords){coords} due to lack of vicinity from %(source){letter}."; | ||||
| 13 | } | ||||||
| 14 | |||||||
| 15 | |||||||
| 16 | 1; | ||||||
| 17 | |||||||
| 18 | __END__ |