Branch Coverage

blib/lib/Number/Spell.pm
Criterion Covered Total %
branch 15 38 39.4


line true false branch
83 7 3 if ($data =~ /(\-?)\s*(\d+)/) { }
85 0 7 if ($d == 0)
89 0 7 if ($s eq '-')
94 0 7 if (defined $opts{'Format'} and $opts{'Format'} eq 'eu') { }
100 0 0 if ($o < 0)
112 0 0 if ($hun1 != 0)
115 0 0 if ($tn1 == 0) { }
0 0 elsif ($tn1 == 1) { }
123 0 0 unless ($sp =~ /^\s*$/)
127 0 0 if ($hun2 != 0)
130 0 0 if ($tn2 == 0) { }
0 0 elsif ($tn2 == 1) { }
138 0 0 if ($c == 1) { }
139 0 0 unless ($sp =~ /^\s*$/)
155 6 8 if ($o < 0)
165 3 11 if ($hun != 0)
168 8 6 if ($tn == 0) { }
1 5 elsif ($tn == 1) { }
175 9 5 unless ($sp =~ /^\s*$/)