Condition Coverage

blib/lib/Class/Measure.pm
Criterion Covered Total %
condition 34 56 60.7


and 3 conditions

line !l l&&!r l&&r condition
65 2 1 11 $unit and $Class::Measure::type_convs->{$class}{$unit}
369 2 1 1 ref $two and ref $one
386 2 1 1 ref $two and ref $one
403 3 1 0 ref $two and ref $one
418 2 1 0 ref $two and ref $one

or 2 conditions

line l !l condition
156 5 3 $Class::Measure::type_convs->{$class} ||= {}
210 5 1 $Class::Measure::type_aliases->{$class} ||= {}
272 29 0 $Class::Measure::type_convs->{$class} ||= {}
273 29 0 $units->{$from} ||= {}
276 28 0 $units->{$to} ||= {}
321 25 0 $Class::Measure::type_paths->{$class} ||= {}
324 22 0 $Class::Measure::type_convs->{$class} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
62 1 11 0 $Class::Measure::type_aliases->{$class}{$unit} || $unit
155 0 8 0 ref $self || $self
187 0 1 0 ref $self || $self
208 0 6 0 ref $self || $self
256 0 9 0 ref $self || $self
286 99 64 0 ref $self || $self
289 31 0 0 $Class::Measure::type_aliases->{$class}{$unit} || croak('Unknown unit or alias "' . $unit . '"')
294 31 0 0 ref $self || $self
319 22 3 0 ref $self || $self