Condition Coverage

blib/lib/Physics/Unit/Scalar.pm
Criterion Covered Total %
condition 36 81 44.4


and 3 conditions

line !l l&&!r l&&r condition
119 0 0 1 ref $self and ref $u
136 0 0 1 ref $self and ref $other
159 0 0 0 ref $self and ref $other
173 0 0 8 ref $self and ref $other
213 0 0 2 ref $self and ref $other
328 0 0 9 ref $self and ref $other
338 0 0 1 ref $self and ref $other
406 0 0 2 ref $self and ref $other
431 0 0 2 ref $self and ref $other
440 0 1 1 defined $swapped and $swapped == 1
449 0 0 0 defined $swapped and $swapped == 1
464 0 0 0 ref $self and ref $other
486 0 0 3 ref $self and ref $other
489 1 2 0 defined $swapped and $swapped == 1
503 0 0 2 ref $self and ref $other
568 0 0 3 ref $self and ref $other
643 0 0 12 ref $self and ref $other

or 3 conditions

line l !l&&r !l&&!r condition
61 1 0 14 not defined $def or $def eq ""
236 54 6 0 $prototype->name || $prototype->def
413 1 0 1 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless"
1 1 0 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless" or ref $other eq "Physics::Unit::Dimensionless"
436 1 0 1 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless"
1 1 0 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless" or ref $other eq "Physics::Unit::Dimensionless"
573 1 0 2 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless"
1 2 0 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless" or ref $other eq "Physics::Unit::Dimensionless"
646 9 0 3 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless"
9 3 0 ref $self eq ref $other or ref $self eq "Physics::Unit::Dimensionless" or ref $other eq "Physics::Unit::Dimensionless"