| blib/lib/Games/ABC_Path/Solver/Move/ResultsInAnError.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::ResultsInAnError; | ||||||
| 2 | $Games::ABC_Path::Solver::Move::ResultsInAnError::VERSION = '0.6.1'; | ||||||
| 3 | 2 | 2 | 10 | use strict; | |||
| 2 | 3 | ||||||
| 2 | 40 | ||||||
| 4 | 2 | 2 | 7 | use warnings; | |||
| 2 | 2 | ||||||
| 2 | 36 | ||||||
| 5 | |||||||
| 6 | 2 | 2 | 7 | use parent 'Games::ABC_Path::Solver::Move'; | |||
| 2 | 3 | ||||||
| 2 | 5 | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | sub _format { | ||||||
| 10 | 0 | 0 | return "Trying %(letter){letter} for %(coords){coords} results in an error."; | ||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | |||||||
| 14 | 1; | ||||||
| 15 | |||||||
| 16 | __END__ |