Branch Coverage

blib/lib/Wikibase/Datatype/Value/Globecoordinate.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
45 1 14 if (ref $self->{'value'} ne "ARRAY")
48 1 13 if (@{$self->{'value'};} != 2)
53 1 12 unless ($lat =~ /^\-?\d+\.?\d*$/ms)
56 1 11 unless ($lon =~ /^\-?\d+\.?\d*$/ms)
60 10 1 unless (defined $self->{'globe'})
65 10 1 unless (defined $self->{'precision'})