Branch Coverage

blib/lib/Wikibase/Datatype/Struct/Value/Sense.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
18 1 3 unless (defined $obj)
21 1 2 unless ($obj->isa("Wikibase::Datatype::Value::Sense"))
39 1 2 if (not exists $struct_hr->{'type'} && defined $struct_hr->{'type'} or $struct_hr->{'type'} ne "wikibase-entityid" or not exists $struct_hr->{'value'} or not exists $struct_hr->{'value'}{'entity-type'} or not defined $struct_hr->{'value'}{'entity-type'} or $struct_hr->{'value'}{'entity-type'} ne "sense")