blib/lib/Geo/Direction/Name/Spec.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 19 | 73.6 |
line | l | !l | condition |
---|---|---|---|
64 | 1322 | 1 | shift() || {} |
87 | 0 | 193 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
38 | 657 | 165 | 0 | $locale ||= $self->default_locale |
50 | 810 | 11 | 495 | 'Class::Inspector'->loaded($class) or $class->require |
57 | 0 | 2334 | 1 | $noerr or $$self{'locale'} |
67 | 1321 | 2 | 0 | $$option{'devide'} || $self->default_dev |
75 | 0 | 110 | 1320 | $direction < 0 or $direction >= 360 |