blib/lib/Date/Japanese/Era.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 16 | 16 | 100.0 |
pod | 5 | 5 | 100.0 |
line | count | pod | subroutine |
---|---|---|---|
3 | 2 | n/a | BEGIN |
6 | 2 | n/a | BEGIN |
7 | 2 | n/a | BEGIN |
12 | 2 | n/a | import |
15 | 1 | n/a | BEGIN |
25 | 54 | Yes | new |
49 | 23 | n/a | _from_ymd |
73 | 30 | n/a | _from_era |
96 | 6 | n/a | _dwim |
120 | 6 | n/a | _number |
137 | 9 | n/a | _ascii2ja |
142 | 8 | n/a | _ja2ascii |
147 | 27 | Yes | name |
154 | 8 | Yes | name_ascii |
159 | 27 | Yes | year |
164 | 21 | Yes | gregorian_year |