| line |
true |
false |
branch |
|
29
|
1 |
55 |
if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999 |
|
62
|
9 |
46 |
if $positive >= 0 and $positive <= 9 |
|
63
|
8 |
38 |
if $positive >= 10 and $positive <= 19 |
|
67
|
21 |
17 |
if ($positive >= 20 and $positive <= 99) |
|
71
|
3 |
18 |
if $unit == 0 |
|
75
|
5 |
13 |
if ($unit == 8 and $ten_idx != 9) |
|
78
|
5 |
8 |
if ($unit == 9) |
|
89
|
11 |
6 |
if ($positive >= 100 and $positive <= 999) |
|
94
|
5 |
6 |
if $remain |
|
101
|
6 |
0 |
if ($positive >= 1000 and $positive <= 999999) |
|
107
|
3 |
3 |
if ($thou_count == 1) { } |
|
113
|
3 |
3 |
if $remain |
|
129
|
0 |
0 |
if not defined $number && $number =~ /\A\d+\z/msux or $number < 1 or $number > 999999 |
|
172
|
0 |
0 |
if $number >= 1 and $number <= 10 |
|
173
|
0 |
0 |
if $number >= 11 and $number <= 17 |
|
177
|
0 |
0 |
if $number == 18 |
|
178
|
0 |
0 |
if $number == 19 |
|
183
|
0 |
0 |
if ($number >= 20 and $number <= 99) |
|
187
|
0 |
0 |
if $unit == 0 |
|
190
|
0 |
0 |
if ($unit == 8) |
|
193
|
0 |
0 |
if ($unit == 9) |
|
204
|
0 |
0 |
if ($number >= 100 and $number <= 999) |
|
208
|
0 |
0 |
if $remain == 0 |
|
215
|
0 |
0 |
if ($number >= 1000 and $number <= 999999) |
|
219
|
0 |
0 |
if ($thou_count == 1 and $remain == 0) |
|
225
|
0 |
0 |
if ($thou_count == 1) { } |
|
231
|
0 |
0 |
if $remain |