Branch Coverage

blib/lib/Number/Format/SouthAsian.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
105 0 150 unless (defined $number and looks_like_number $number)
109 75 75 exists $opts{'words'} ? :
115 94 56 if ($want_words) { }
159 20 74 if ($number =~ /^ ( \d+ (?: [.]\d+)?) e[+] (\d+) $/msx)
163 0 20 if ($Number::Format::SouthAsian::OSNAME eq 'MSWin32')
167 20 0 if ($mantissa <= 1) { }
176 8 86 if ($opts{'lakhs_and_crores_only'} or not exists $opts{'lakhs_and_crores_only'} and $$self{'defaults'}{'lakhs_and_crores_only'}) { }
183 10 84 if ($zeroes < 5)
195 84 0 if ($fraction =~ /[.]/)
204 38 46 $fraction eq '1' ? :
244 12 138 exists $opts{'decimals'} ? :
248 24 126 if ($decimals)
257 24 0 if ($number =~ /[.]/)