Branch Coverage

blib/lib/Data/Unixish/num.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
98 0 13 unless $styles{$args->{'style'}}
103 4 6 $args->{'style'} eq 'kilo' || $args->{'style'} eq 'kibi' ? :
106 13 0 if ($ENV{'LC_NUMERIC'}) { }
0 0 elsif ($ENV{'LC_ALL'}) { }
0 0 elsif ($ENV{'LANG'}) { }
116 2 11 if (defined $args->{'thousands_sep'})
128 44 31 unless defined $item and &looks_like_number($item)
133 6 25 if ($style eq 'fixed') { }
3 22 elsif ($style eq 'scientific') { }
6 16 elsif ($style eq 'kilo') { }
6 10 elsif ($style eq 'kibi') { }
6 4 elsif ($style eq 'percent') { }