Branch Coverage

blib/lib/Lingua/SWA/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
38 2 0 if $positive >= 0 and $positive < 10
39 0 0 if $positive == 10
40 0 0 if $positive > 10 and $positive < 20
46 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) { }
51 0 0 if $remain
58 0 0 if $remain
65 0 0 if $remain
72 0 0 if $remain
87 0 0 if not defined $number && $number =~ /\A\d+\z/msux or $number < 1 or $number > 999999999