Branch Coverage

blib/lib/Lingua/FR/Nums2Words.pm
Criterion Covered Total %
branch 28 30 93.3


line true false branch
65 1 11 wantarray ? :
66 0 12 unless @numbers
70 1 11 wantarray ? :
77 12 7 if ($number % 100 < 20) { }
93 10 9 if (int $number == 0)
95 3 6 if (int $number == 1) { }
106 1 14 if $number == 0
109 2 12 if ($number < 0)
122 19 1511 if ($n != 0)
124 1 18 if ($s =~ /\s*un\s*/ and $place == 1) { }
128 13 5 if ($place == 0)
129 1 12 if ($s =~ /cent\s*$/ and not $s =~ /^\s*cent/) { }
138 1 17 if ($place > 0 and $plural_possible)
139 1 0 if (not $s =~ /^\s*un/) { }
158 2 12 $plural_form ? :