Branch Coverage

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


line true false branch
19 1 5 unless (defined $obj)
22 1 4 unless ($obj->isa("Wikibase::Datatype::Value::Globecoordinate"))
25 1 3 unless (defined $base_uri)
29 1 2 $obj->altitude ? :
46 2 4 if (not exists $struct_hr->{'type'} or $struct_hr->{'type'} ne "globecoordinate")
63 1 3 defined $struct_hr->{'value'}{'altitude'} ? :