blib/lib/Geo/JapanMesh.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 32 | 71.8 |
line | true | false | branch |
---|---|---|---|
27 | 0 | 15 | unless $num =~ /^[1-3]$/ |
43 | 0 | 3 | if @res < 2 or @res > 6 or @res % 2 != 0 |
60 | 0 | 15 | unless $num =~ /^[1-8]$/ |
64 | 0 | 15 | if $num < 3 |
80 | 0 | 341 | if @res < 2 or @res > 5 |
84 | 340 | 1 | if (@res) |
113 | 5 | 25 | if $num == 1 |
119 | 5 | 20 | if $num == 2 |
124 | 15 | 5 | if $num == -2 |
130 | 5 | 0 | if $num == 3 |
135 | 0 | 0 | if $num == -3 |
147 | 1 | 343 | unless @codes |
153 | 342 | 1 | unless @codes |
181 | 15 | 60 | $depth >= $num ? : |
194 | 0 | 1252 | unless defined $this |
201 | 912 | 340 | if defined $rest |