Branch Coverage

blib/lib/Math/Calc/Units/Convert/Distance.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
70 1 44 if (keys %total_unit_map == 0)
82 7 95 if $from =~ /^m(eter(s?))?$/i
84 82 13 if (my $easy = $self->SUPER::simple_convert($from, $to))
89 2 11 if ($from =~ /^(.)m(eter(s?))?$/i)
90 2 0 if (my($prefix) = $self->expand($1))