Branch Coverage

blib/lib/Wikibase/Datatype/Struct/Lexeme.pm
Criterion Covered Total %
branch 36 36 100.0


line true false branch
24 1 6 unless (defined $obj)
27 1 5 unless ($obj->isa("Wikibase::Datatype::Lexeme"))
30 1 4 unless (defined $base_uri)
46 1 3 if (defined $obj->id)
51 1 3 if (defined $obj->lastrevid)
56 1 3 if (defined $obj->language)
67 1 3 if (defined $obj->lexical_category)
72 1 3 if (defined $obj->modified)
77 3 1 if (defined $obj->ns)
82 1 3 if (defined $obj->page_id)
101 1 3 if (defined $obj->title)
111 2 3 if (not exists $struct_hr->{'type'} or $struct_hr->{'type'} ne "lexeme")
157 1 2 defined $struct_hr->{'lastrevid'} ? :
1 2 defined $struct_hr->{'lexicalCategory'} ? :
1 2 defined $struct_hr->{'modified'} ? :
1 2 defined $struct_hr->{'ns'} ? :
1 2 defined $struct_hr->{'pageid'} ? :
1 2 defined $struct_hr->{'title'} ? :