Condition Coverage

blib/lib/Class/Measure.pm
Criterion Covered Total %
condition 30 56 53.5


and 3 conditions

line !l l&&!r l&&r condition
65 2 1 26 $unit and $Class::Measure::type_convs->{$class}{$unit}
372 3 0 1 &blessed($right) and $right->isa($class)
383 3 0 1 &blessed($right) and $right->isa($class)
396 4 0 0 &blessed($right) and $right->isa($class)
407 3 0 0 &blessed($right) and $right->isa($class)

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 26 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