line |
true |
false |
branch |
19
|
6 |
7 |
wantarray ? : |
25
|
14 |
8 |
if (@_ == 1) { } |
|
2 |
6 |
elsif (@_ == 3) { } |
|
5 |
1 |
elsif (@_ == 6) { } |
28
|
5 |
9 |
if (&reftype($param) and &reftype($param) eq 'HASH') { } |
|
1 |
8 |
elsif (&reftype($param)) { } |
|
5 |
3 |
elsif ($param =~ /^([0-9][0-9][0-9][0-9])-([0-9]{1,2})-([0-9]{1,2})$/) { } |
|
1 |
2 |
elsif (not $param =~ /^[0-9]+$/) { } |
31
|
2 |
1 |
if exists $param->{'year'} and exists $param->{'month'} and exists $param->{'day'} |
57
|
2 |
1 |
if exists $hashref->{'year'} and exists $hashref->{'month'} and exists $hashref->{'day'} |