line |
true |
false |
branch |
13
|
1 |
1 |
if (@_) { } |
16
|
0 |
1 |
if $@ |
32
|
23 |
31 |
if (@args == 3) { } |
|
24 |
7 |
elsif (@args == 2) { } |
|
6 |
1 |
elsif (@args == 1) { } |
51
|
1 |
22 |
if ($ymd[0] <= 1872) |
60
|
21 |
47 |
if (Date::Calc::Delta_Days(@{$data;}[1..3], @ymd) >= 0 and Date::Calc::Delta_Days(@ymd, @{$data;}[4..6]) >= 0) |
74
|
9 |
21 |
if ($era =~ /^[a-zA-Z]+$/) |
78
|
0 |
29 |
unless (utf8::is_utf8($era)) |
82
|
1 |
28 |
unless my $data = $ERA_TABLE{$era} |
86
|
1 |
27 |
if ($g_year > $data->[4]) |
98
|
0 |
6 |
unless (utf8::is_utf8($str)) |
104
|
0 |
6 |
unless $str =~ s/^($gengou_re)// |
112
|
0 |
6 |
unless (defined $year) |
124
|
4 |
2 |
if ($str =~ /^\d+$/) { } |
128
|
0 |
2 |
if ($@) |