Branch Coverage

blib/lib/Math/Calc/Units/Convert/Multi.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
36 7 548 if (ref $canon) { }
41 1 13 if (($newUnit{$name} += $subPower * $power) == 0)
46 3 545 if (($newUnit{$canon} += $power) == 0)
70 2 74 if (my $v = 'Math::Calc::Units::Convert::Combo'->lookup_compound($unitName))
75 63 138 if (my($val, $base) = $uclass->to_canonical($unitName))
87 24 1500 unless defined $canon_unit
88 681 819 if $canon_unit eq $canon
97 0 0 if $c = $uclass->simple_convert($u, $v)
124 0 282 if ref $unitName
130 0 296 if ref $unitName
138 7 14 if $c = $uclass->construct($constructor, $args)