line |
true |
false |
branch |
24
|
13 |
7 |
if ($param eq "data2line" or $param eq "line2data") |
27
|
6 |
14 |
if ($param =~ /^precision=(\w+)$/) |
30
|
1 |
0 |
if ($param =~ /^v[\d\.]+$/ and $versions{$param}) |
37
|
2 |
11 |
if $version |
94
|
32 |
24 |
if ($v =~ /^(-?\d+)(?:i?)$/) { } |
|
3 |
21 |
elsif ($v =~ /^[Ff](?:ALSE|alse)?$/) { } |
|
2 |
19 |
elsif ($v =~ /^[Tt](?:RUE|rue)?$/) { } |
|
6 |
13 |
elsif ($v =~ /^-?\d+(?:\.\d+)?(?:e(?:-|\+)?\d+)?$/) { } |
119
|
0 |
49 |
if (@_ == 1) |
127
|
16 |
33 |
if (defined $tags) |
128
|
13 |
3 |
if (ref $tags eq 'HASH') { } |
|
3 |
0 |
elsif (not ref $tags) { } |
135
|
0 |
18 |
unless defined $v |
142
|
13 |
0 |
if @tags |
150
|
0 |
49 |
unless $timestamp =~ /^\d+$/ |
154
|
35 |
14 |
unless ref $values |
226
|
11 |
31 |
if ($fields =~ /"/) |
249
|
0 |
34 |
if (@_ == 1) |
258
|
12 |
22 |
if (defined $tags) |
259
|
9 |
3 |
if (ref $tags eq 'HASH') { } |
|
3 |
0 |
elsif (not ref $tags) { } |
266
|
0 |
13 |
unless defined $v |
271
|
9 |
0 |
if @tags |
278
|
6 |
28 |
if ($timestamp) { } |
279
|
0 |
6 |
unless $timestamp =~ /^\d+$/ |
281
|
0 |
6 |
if (length $timestamp < 19) |
289
|
0 |
28 |
if length $timestamp < 19 |
293
|
25 |
9 |
unless ref $values |
300
|
13 |
3 |
unless ($v =~ /^-?\d+(?:\.\d+)?(?:e-?\d+)?$/ or $v =~ /^(?:F(?:ALSE)?|f(?:alse)?|T(?:RUE)?|t(?:rue)?)$/) |
343
|
11 |
23 |
if ($fields =~ /"/) |