Branch Coverage

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


line true false branch
32 1 5 if not defined $positive && $positive =~ /\A\d+\z/msx or $positive < 0 or $positive > 999999999
41 2 3 if $positive >= 0 and $positive < 13
42 0 3 if $positive == 16
43 0 3 if $positive == 17
44 0 3 if $positive > 12 and $positive < 20
50 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) { }
54 1 0 if $remain
62 1 0 $remain ? :
69 0 1 $remain ? :
75 0 0 $one_idx == 1 ? :
78 0 0 if $one_idx > 1
79 0 0 $remain ? :