Condition Coverage

blib/lib/PomBase/Chobo/OntologyTerm.pm
Criterion Covered Total %
condition 36 48 75.0


and 3 conditions

line !l l&&!r l&&r condition
102 0 4 0 defined $self->metadata->{'ontology'} and $self->metadata->{'ontology'} eq "ro"
155 31 0 57 $object->{'def'} and $object->{'def'}{'dbxrefs'}
0 46 11 $object->{'def'} and $object->{'def'}{'dbxrefs'} and $object->{'alt_id'}
168 82 0 6 $object->{'is_obsolete'} and $object->{'name'}
0 4 2 $object->{'is_obsolete'} and $object->{'name'} and not $object->{'name'} =~ /^obsolete/i
172 74 0 14 $object->{'is_relationshiptype'} and $object->{'name'}
257 0 14 18 defined $field_conf->{'type'} and $field_conf->{'type'} eq 'SINGLE' || $field_conf->{'type'} eq 'SINGLE_HASH'
270 3 0 3 $name eq "namespace" and $self->{'_namespace_from_metadata'}

or 2 conditions

line l !l condition
84 4 4 $self->{'synonym'} // []
114 169 0 $self->{'alt_id'} // []
121 2 6 $self->{'property_value'} // []
128 1 1 $self->{'subset'} // []
135 13 75 $self->{'xref'} // []
184 20 68 $object->{'alt_id'} //= []

or 3 conditions

line l !l&&r !l&&!r condition
257 16 2 14 $field_conf->{'type'} eq 'SINGLE' || $field_conf->{'type'} eq 'SINGLE_HASH'
270 6 3 3 not defined $self->{$name} or $name eq "namespace" and $self->{'_namespace_from_metadata'}
275 3 0 0 $name ne "namespace" or not $other_term->{'_namespace_from_metadata'}
307 14 14 196 $field_name eq "id" or $field_name eq "alt_id"