Branch Coverage

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


line true false branch
31 1 5 if not defined $positive && $positive =~ /\A\d+\z/msx or $positive < 0 or $positive > 999999999
40 2 3 if $positive >= 0 and $positive < 13
41 0 3 if $positive == 16
42 0 3 if $positive == 17
43 0 3 if $positive > 12 and $positive < 20
49 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) { }
53 1 0 if $remain
61 1 0 $remain ? :
68 0 1 $remain ? :
74 0 0 $one_idx == 1 ? :
77 0 0 if $one_idx > 1
78 0 0 $remain ? :