line |
true |
false |
branch |
82
|
0 |
3 |
unless (defined $string) |
88
|
1 |
2 |
if ($string =~ /\.\d+/) |
94
|
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]$]) { } |
306
|
0 |
1 |
unless (defined $string) |
312
|
0 |
0 |
if ($special and $string =~ /^now$/ || $string =~ /^now[\-\+]\d+[mhdw]?$/ || $string =~ /^[\-\+]\d+[mhdw]?$/) |
322
|
0 |
0 |
if ($string eq "now") |
333
|
0 |
0 |
if ($string =~ /m$/) { } |
|
0 |
0 |
elsif ($string =~ /h$/) { } |
|
0 |
0 |
elsif ($string =~ /d$/) { } |
|
0 |
0 |
elsif ($string =~ /w$/) { } |
354
|
0 |
0 |
if ($string =~ /^\-/) { } |
370
|
0 |
1 |
if ($special and $string =~ /zz$/) { } |
|
0 |
2 |
elsif ($special and $string =~ /ZZ$/) { } |
388
|
0 |
1 |
unless (defined $format) |
392
|
0 |
1 |
if (defined $ms_clean_regex) |
399
|
0 |
1 |
if ($format =~ /\%z/ and $string =~ /[-+]\d\d$/) |
405
|
0 |
1 |
if ($@) |
410
|
0 |
1 |
if ($make_local) |