Branch Coverage

blib/lib/Lingua/UIG/Num2Word.pm
Criterion Covered Total %
branch 2 26 7.6


line true false branch
29 0 2 if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999
41 2 0 if $positive >= 0 and $positive < 10
42 0 0 if $positive >= 10 and $positive < 100 and $positive % 10 == 0
47 0 0 if ($positive > 9 and $positive < 100) { }
0 0 elsif ($positive == 100) { }
0 0 elsif ($positive > 100 and $positive < 1000) { }
0 0 elsif ($positive >= 1000 and $positive < 1000000) { }
0 0 elsif ($positive >= 1000000 and $positive < 1000000000) { }
60 0 0 $hun_idx == 1 ? :
61 0 0 $remain ? :
67 0 0 $tho_idx == 1 ? :
68 0 0 $remain ? :
75 0 0 $remain ? :