Condition Coverage

blib/lib/Wikibase/Datatype/Struct/Value/Property.pm
Criterion Covered Total %
condition 14 18 77.7


and 3 conditions

line !l l&&!r l&&r condition
42 1 0 5 exists $struct_hr->{'type'} && defined $struct_hr->{'type'}

or 3 conditions

line l !l&&r !l&&!r condition
42 1 1 4 not exists $struct_hr->{'type'} && defined $struct_hr->{'type'} or $struct_hr->{'type'} ne 'wikibase-entityid'
2 1 3 not exists $struct_hr->{'type'} && defined $struct_hr->{'type'} or $struct_hr->{'type'} ne 'wikibase-entityid' or not exists $struct_hr->{'value'}
2 0 3 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'}
1 0 3 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'}
0 1 2 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 'property'