line |
true |
false |
branch |
74
|
0 |
3 |
unless (defined $string) |
80
|
1 |
2 |
if ($string =~ /\.\d+/) |
86
|
0 |
3 |
if ($string =~ /^\d+$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9]\ .+$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\ .+$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
3 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9]\ .+$/) { } |
|
2 |
1 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\ .+$/) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9][-+]\d+$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9]Z$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9]\ .+$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9][-+]\d+$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]Z$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\ .+$]) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9]\ .+$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\ .+$/) { } |
|
0 |
1 |
elsif ($string =~ /\^d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
1 |
elsif ($string =~ /\^d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
1 |
elsif ($string =~ /\^d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9]\ .+$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9][-+]\d+$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]Z$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\ .+$/) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9][-+]\d+$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9]Z$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9]\ .+$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9][-+]\d+$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]Z$]) { } |
|
0 |
1 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\ .+$]) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9]$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]$/) { } |
|
0 |
1 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9]$/) { } |
|
1 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9]$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]$]) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9]$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]$]) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9]\ .+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9][0-5][0-9]\ .+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9]\ .+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9][0-5][0-9]\ .+$/) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9][0-5][0-9][-+]\d+$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9][0-5][0-9]Z$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9][0-5][0-9]\ .+$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9][0-5][0-9][0-5][0-9][-+]\d+$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9][0-5][0-9][0-5][0-9]Z$]) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9][0-5][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9][0-5][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ /\^d\d\d\d\d\d\d\dT[0-2][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /\^d\d\d\d\d\d\d\dT[0-2][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9][0-5][0-9][0-5][0-9][-+]\d+$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9][0-5][0-9][0-5][0-9]Z$/) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9][0-5][0-9][-+]\d+$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9][0-5][0-9]Z$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9][0-5][0-9][0-5][0-9][-+]\d+$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9][0-5][0-9][0-5][0-9]Z$]) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\d\ [0-2][0-9][0-5][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\-\d\d-\d\dT[0-2][0-9][0-5][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9][0-5][0-9]$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\-\d\d-\d\d/[0-2][0-9][0-5][0-9][0-5][0-9]$]) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\d\ [0-2][0-9][0-5][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ /^\d\d\d\d\d\d\d\dT[0-2][0-9][0-5][0-9][0-5][0-9]$/) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9][0-5][0-9]$]) { } |
|
0 |
0 |
elsif ($string =~ m[^\d\d\d\d\d\d\d\d/[0-2][0-9][0-5][0-9][0-5][0-9]$]) { } |
298
|
0 |
1 |
unless (defined $string) |
304
|
0 |
0 |
if ($special and $string =~ /^now$/ || $string =~ /^now[\-\+]\d+[mhdw]?$/ || $string =~ /^[\-\+]\d+[mhdw]?$/) |
314
|
0 |
0 |
if ($string eq "now") |
325
|
0 |
0 |
if ($string =~ /m$/) { } |
|
0 |
0 |
elsif ($string =~ /h$/) { } |
|
0 |
0 |
elsif ($string =~ /d$/) { } |
|
0 |
0 |
elsif ($string =~ /w$/) { } |
346
|
0 |
0 |
if ($string =~ /^\-/) { } |
362
|
0 |
1 |
if ($special and $string =~ /zz$/) { } |
|
0 |
2 |
elsif ($special and $string =~ /ZZ$/) { } |
380
|
0 |
1 |
unless (defined $format) |
384
|
0 |
1 |
if (defined $ms_clean_regex) |
390
|
0 |
1 |
if ($@) |
395
|
0 |
1 |
if ($make_local) |