| blib/lib/Geo/Direction/Name/Spec.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 20 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 11 | 0 | if ($] >= 5.006) |
| 38 | 822 | 1513 | unless $$self{'locale'} |
| 40 | 822 | 1513 | if ($locale) |
| 50 | 821 | 495 | if ('Class::Inspector'->loaded($class) or $class->require) |
| 57 | 1 | 2334 | unless $noerr or $$self{'locale'} |
| 66 | 1321 | 2 | defined $$option{'abbreviation'} ? : |
| 69 | 1 | 1322 | unless looks_like_number $direction |
| 70 | 1 | 1321 | unless $abbr =~ /^[01]$/ |
| 71 | 1 | 1320 | unless grep {$devide == $_;} $self->allowed_dev |
| 76 | 0 | 110 | $direction < 0 ? : |