Branch Coverage

blib/lib/Wikibase/Datatype/Value/Quantity.pm
Criterion Covered Total %
branch 10 10 100.0


line true false branch
34 3 18 if (defined $self->{'unit'})
40 3 17 if (defined $self->{'lower_bound'})
42 1 2 if ($self->{'lower_bound'} > $self->{'value'})
46 3 16 if (defined $self->{'upper_bound'})
48 1 2 if ($self->{'upper_bound'} < $self->{'value'})