Branch Coverage

blib/lib/Lingua/DEU/Num2Word.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
29 1 5 if not defined $positive && $positive =~ /\A\d+\z/msux or $positive < 0 or $positive > 999999999
38 2 3 if $positive >= 0 and $positive < 13
39 0 3 if $positive == 16
40 0 3 if $positive == 17
41 0 3 if $positive > 12 and $positive < 20
47 1 2 if ($positive > 19 and $positive < 101) { }
1 1 elsif ($positive > 100 and $positive < 1000) { }
1 0 elsif ($positive > 999 and $positive < 1000000) { }
0 0 elsif ($positive > 999999 and $positive < 1000000000) { }
51 1 0 if $remain
59 1 0 $remain ? :
66 0 1 $remain ? :
72 0 0 $one_idx == 1 ? :
75 0 0 if $one_idx > 1
76 0 0 $remain ? :