Branch Coverage

blib/lib/Lingua/RON/Num2Word.pm
Criterion Covered Total %
branch 2 44 4.5


line true false branch
29 0 2 if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999
45 2 0 if $positive >= 0 and $positive < 10
46 0 0 if $positive >= 10 and $positive < 20
51 0 0 if ($positive > 19 and $positive < 100) { }
0 0 elsif ($positive == 100) { }
0 0 elsif ($positive > 100 and $positive < 200) { }
0 0 elsif ($positive >= 200 and $positive < 1000) { }
0 0 elsif ($positive >= 1000 and $positive < 2000) { }
0 0 elsif ($positive >= 2000 and $positive < 1000000) { }
0 0 elsif ($positive >= 1000000 and $positive < 2000000) { }
0 0 elsif ($positive >= 2000000 and $positive < 1000000000) { }
56 0 0 if $remain
69 0 0 $hun_idx == 2 ? :
72 0 0 if $remain
78 0 0 if $remain
84 0 0 $tho_idx == 2 ? :
87 0 0 if $remain
93 0 0 if $remain
99 0 0 $mil_idx == 2 ? :
102 0 0 if $remain
116 0 0 if not defined $number && $number =~ /\A\d+\z/msux or $number < 1 or $number > 999999999
136 0 0 if exists $irregular{$number}