line |
true |
false |
branch |
36
|
0 |
0 |
if UNIVERSAL::isa($_[0], 'Data::Str2Num') |
37
|
0 |
0 |
unless $Data::Str2Num::default_options |
63
|
0 |
0 |
if UNIVERSAL::isa($_[0], 'Data::Str2Num') |
64
|
0 |
0 |
unless @_ |
66
|
0 |
0 |
unless ref $Data::Str2Num::default_options |
67
|
0 |
0 |
if ref $_[-1] |
76
|
0 |
0 |
unless @strs |
79
|
0 |
0 |
unless wantarray |
82
|
0 |
0 |
unless defined $_ |
90
|
0 |
0 |
if ($_ =~ s/^\s*(-?)\s*(0[0-7]+|0?b[0-1]+|0x[0-9A-Fa-f]+)\s*[,;\n]?//) { } |
|
0 |
0 |
elsif ($_ =~ s/^\s*(-?)\s*([0-9]+)\s*[,;\n]?//) { } |
92
|
0 |
0 |
if $integer =~ s/^\s*-// |
101
|
0 |
0 |
if $_ =~ s/^\.([0-9]+)\s*[,;\n]?// |
105
|
0 |
0 |
if $_ =~ s/^E(-?)([0-9]+)\s*[,;\n]?// |
107
|
0 |
0 |
unless defined $integer or defined $fraction or defined $exponent |
109
|
0 |
0 |
unless defined $integer |
110
|
0 |
0 |
unless defined $fraction |
111
|
0 |
0 |
unless defined $exponent |
113
|
0 |
0 |
if ($$options{'ascii_float'}) { } |
114
|
0 |
0 |
if $fraction |
115
|
0 |
0 |
if $exponent |
126
|
0 |
0 |
if ($integer) { } |
140
|
0 |
0 |
unless $integer |
143
|
0 |
0 |
if $early_exit |
145
|
0 |
0 |
if $early_exit |
155
|
0 |
0 |
unless @strs |
157
|
0 |
0 |
unless $early_exit |
169
|
0 |
0 |
if UNIVERSAL::isa($_[0], 'Data::Str2Num') |
183
|
0 |
0 |
if UNIVERSAL::isa($_[0], 'Data::Str2Num') |
184
|
0 |
0 |
unless (wantarray) |
185
|
0 |
0 |
unless defined $_[0] |
187
|
0 |
0 |
if $str =~ /^\s*(-?\s*0[0-7]+|0?b[0-1]+|0x[0-9A-Fa-f]+)\s*[,;\n]?$/ |
188
|
0 |
0 |
if $str =~ /^\s*(-?\s*[0-9]+)\s*[,;:\n]?$/ |
195
|
0 |
0 |
unless @_ |
197
|
0 |
0 |
unless ref $Data::Str2Num::default_options |
198
|
0 |
0 |
if ref $_[-1] |
207
|
0 |
0 |
unless @strs |
212
|
0 |
0 |
unless defined $_ |
214
|
0 |
0 |
if ($_ =~ s/^\s*(-?)\s*(0[0-7]+|0?b[0-1]+|0x[0-9A-Fa-f]+)\s*[,;\n]?//) { } |
|
0 |
0 |
elsif ($_ =~ s/^\s*(-?)\s*([0-9]+)\s*[,;\n]?//) { } |
234
|
0 |
0 |
if ($num =~ /\s*[\.E]\d+/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*[\.E]\d+/) { } |
259
|
0 |
0 |
unless @strs |