Branch Coverage

blib/lib/Math/BaseCalc.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
18 20 0 if (@_)
22 13 7 if (ref $_[0]) { }
27 0 7 unless exists $digitsets{$name}
54 3 42 if not $$self{'has_dash'} and $_[0] =~ /^-/
60 2 40 if ($str =~ s/\.(.+)//)
69 2 186 unless exists $$trans{substr $str, 0, 1}
75 2 38 $add_in ? :
80 1 34 if $num < 0
91 32 2 length $result ? :