blib/lib/Date/Japanese/Era.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 9 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
61 | 21 | 9 | 18 | Delta_Days(@{$data;}[1..3], @ymd) >= 0 and Delta_Days(@ymd, @{$data;}[4..6]) >= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
139 | 8 | 0 | 1 | $Date::Japanese::Era::ERA_ASCII2JA{$ascii} || croak("Unknown era name: $ascii") |
144 | 8 | 0 | 0 | $Date::Japanese::Era::ERA_JA2ASCII{$ja} || croak("Unknown era name: $ja") |