line |
true |
false |
branch |
132
|
605 |
6 |
if ($day and $mon and $year)
|
133
|
230 |
375 |
if ($dt) { }
|
|
181 |
194 |
elsif ($di) { }
|
138
|
2 |
192 |
if fail_range($year)
|
161
|
944 |
1919 |
if ($dt) { }
|
|
931 |
988 |
elsif ($di) { }
|
193
|
6 |
6 |
unless defined $d1 or defined $d2
|
194
|
714 |
988 |
if defined $d1 and not defined $d2
|
195
|
6 |
982 |
unless defined $d1
|
198
|
320 |
662 |
if ($dt) { }
|
|
312 |
350 |
elsif ($di) { }
|
200
|
20 |
26 |
$d1 > $d2 ? :
|
|
304 |
46 |
$d1 < $d2 ? :
|
214
|
506 |
1042 |
if ($dt) { }
|
|
506 |
536 |
elsif ($di) { }
|
237
|
2 |
1699 |
unless $day and $mon and $year
|
239
|
258 |
1441 |
unless ($dotw)
|
255
|
3 |
4 |
if ($tp and $fmt =~ /\bEPOCH\b/ and $year >= $EpoYear and $year <= $MaxYear)
|
258
|
3 |
0 |
if $t
|
296
|
8 |
41 |
if ($form1 =~ /^YYYY/) { }
|
|
3 |
38 |
elsif ($form1 =~ /^MONTH/) { }
|
|
5 |
33 |
elsif ($form1 =~ /^MM/) { }
|
|
3 |
30 |
elsif ($form1 =~ /^DDEXT/) { }
|
|
5 |
25 |
elsif ($form1 =~ /^DD/) { }
|
|
3 |
22 |
elsif ($form1 =~ /^DAY/) { }
|
335
|
2 |
5 |
unless int $day and int $mon and int $year
|
338
|
1 |
4 |
if $form2 =~ /DAY/ and not $dotw
|
356
|
44 |
1585 |
if $_[0] == 1 or $_[0] == 21 or $_[0] == 31
|
357
|
115 |
1470 |
if $_[0] == 2 or $_[0] == 22
|
358
|
143 |
1327 |
if $_[0] == 3 or $_[0] == 23
|
370
|
9 |
11 |
if $_[0] =~ /\d/
|
373
|
10 |
34 |
if $_[0] =~ /$dotw[$inx]/i
|
387
|
13 |
16 |
if $_[0] =~ /\d/
|
390
|
15 |
97 |
if $_[0] =~ /$months[$inx]/i
|
404
|
3 |
209 |
unless $_[0]
|
405
|
10 |
199 |
if $dt or $di
|
406
|
4 |
195 |
if $_[0] < $MinYear or $_[0] > $MaxYear
|
411
|
7 |
0 |
if $dt
|
412
|
7 |
0 |
if $di
|