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 | 55 | Yes | new |
49 | 23 | n/a | _from_ymd |
73 | 31 | n/a | _from_era |
96 | 7 | n/a | _dwim |
120 | 7 | n/a | _number |
138 | 9 | n/a | _ascii2ja |
143 | 8 | n/a | _ja2ascii |
148 | 28 | Yes | name |
155 | 8 | Yes | name_ascii |
160 | 28 | Yes | year |
165 | 22 | Yes | gregorian_year |