line |
true |
false |
branch |
57
|
1 |
3 |
if (defined $args{'min'} and defined $args{'max'} and $args{'max'} - $args{'min'} <= $limit) { } |
|
0 |
3 |
elsif (defined $args{'min'} and defined $args{'xmax'} and $args{'xmax'} - $args{'min'} <= $limit) { } |
|
0 |
3 |
elsif (defined $args{'xmin'} and defined $args{'max'} and $args{'max'} - $args{'xmin'} <= $limit) { } |
|
1 |
2 |
elsif (defined $args{'xmin'} and defined $args{'xmax'} and $args{'xmax'} - $args{'xmin'} <= $limit) { } |
|
0 |
2 |
elsif (length $word and not $word =~ /\A-?\d*\z/) { } |
74
|
1 |
1 |
if $word =~ /\A-|\A\z/ |
78
|
1 |
32 |
unless length $i |
79
|
1 |
31 |
unless $i =~ /\A-?\d+\z/ |
80
|
1 |
30 |
if $i eq '-0' |
81
|
0 |
30 |
if $i =~ /\A-?0\d/ |
82
|
0 |
30 |
if defined $args{'min'} and $i < $args{'min'} |
83
|
0 |
30 |
if defined $args{'xmin'} and $i <= $args{'xmin'} |
84
|
0 |
30 |
if defined $args{'max'} and $i > $args{'max'} |
85
|
0 |
30 |
if defined $args{'xmin'} and $i >= $args{'xmax'} |
120
|
0 |
1 |
if (length $word and not $word =~ /\A-?\d*(\.\d*)?\z/) { } |
124
|
1 |
0 |
if $word =~ /\A-|\A\z/ |
129
|
1 |
41 |
unless length $f |
130
|
21 |
20 |
unless $f =~ /\A-?\d+(\.\d+)?\z/ |
131
|
1 |
19 |
if $f eq '-0' |
132
|
0 |
19 |
if $f =~ /\A-?0\d\z/ |
133
|
0 |
19 |
if defined $args{'min'} and $f < $args{'min'} |
134
|
0 |
19 |
if defined $args{'xmin'} and $f <= $args{'xmin'} |
135
|
0 |
19 |
if defined $args{'max'} and $f > $args{'max'} |
136
|
0 |
19 |
if defined $args{'xmin'} and $f >= $args{'xmax'} |