Branch Coverage

blib/lib/Lingua/VIE/Num2Word.pm
Criterion Covered Total %
branch 2 54 3.7


line true false branch
28 0 2 if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999
36 2 0 if $positive >= 0 and $positive < 10
37 0 0 if $positive == 10
40 0 0 if ($positive > 10 and $positive < 20)
42 0 0 $unit == 4 ? :
0 0 $unit == 5 ? :
52 0 0 if ($positive > 19 and $positive < 100) { }
0 0 elsif ($positive > 99 and $positive < 1000) { }
0 0 elsif ($positive > 999 and $positive < 1000000) { }
0 0 elsif ($positive > 999999 and $positive < 1000000000) { }
57 0 0 if ($remain == 0) { }
0 0 elsif ($remain == 1) { }
0 0 elsif ($remain == 5) { }
0 0 elsif ($remain == 4) { }
79 0 0 if ($remain > 0 and $remain < 10) { }
0 0 elsif ($remain >= 10) { }
92 0 0 if ($remain > 0 and $remain < 10) { }
0 0 elsif ($remain >= 10 and $remain < 100) { }
0 0 elsif ($remain >= 100) { }
108 0 0 if ($remain > 0 and $remain < 1000) { }
0 0 elsif ($remain >= 1000) { }
113 0 0 if ($sub_tens == 0 and $sub_hundreds > 0 and $sub_hundreds < 10) { }
0 0 elsif ($sub_tens == 0 and $sub_hundreds >= 10) { }
0 0 elsif ($sub_tens > 0) { }
139 0 0 if not defined $number && $number =~ /\A\d+\z/msux or $number < 1 or $number > 999999999
147 0 0 if $number == 1
148 0 0 if $number == 4