Branch Coverage

blib/lib/Lingua/SQI/Num2Word.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
29 1 33 if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999
45 9 24 if $positive >= 0 and $positive < 10
46 3 21 if $positive >= 10 and $positive < 20
51 8 13 if ($positive >= 20 and $positive < 100) { }
6 7 elsif ($positive >= 100 and $positive < 1000) { }
4 3 elsif ($positive >= 1000 and $positive < 1000000) { }
3 0 elsif ($positive >= 1000000 and $positive < 1000000000) { }
56 6 2 if $remain
63 4 2 if $remain
70 2 2 if $remain
77 1 2 $mega_idx == 1 ? :
78 1 2 if $remain