blib/lib/Math/Calc/Units/Convert/Combo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
23 | 1 | 73 | if (keys %Math::Calc::Units::Convert::Combo::total_unit_map == 0) |
35 | 123 | 2 | unless $unit =~ /bps$/ |
43 | 19 | 133 | if (my $prefix = $self->get_prefix($string)) { } |
32 | 101 | elsif (my $abbrev = $self->get_abbrev_prefix($string)) { } | |
45 | 0 | 19 | if ($Math::Calc::Units::Convert::Combo::metric_units{$tail}) |
50 | 2 | 30 | if ($Math::Calc::Units::Convert::Combo::prefixable_metric_units{$tail}) |
67 | 2 | 74 | if (my $mult = $self->simple_convert($unitName, $_)) |