Condition Coverage

blib/lib/Math/Calc/Units/Convert/Metric.pm
Criterion Covered Total %
condition 6 14 42.8


and 3 conditions

line !l l&&!r l&&r condition
143 0 0 0 $char ne lc $char and $lower = $self->get_abbrev(lc $char)

or 2 conditions

line l !l condition
63 224 68 $prefix || ''

or 3 conditions

line l !l&&r !l&&!r condition
101 30 2 101 $Math::Calc::Units::Convert::Metric::abbrev{$prefix} or $Math::Calc::Units::Convert::Metric::abbrev{lc $prefix}
120 44 0 0 $Math::Calc::Units::Convert::Metric::pref{lc $prefix} || $Math::Calc::Units::Convert::Metric::pref{'unit'}
178 0 0 0 $Math::Calc::Units::Convert::Metric::reverse_abbrev{$prefix} || $prefix