Branch Coverage

Bio/Ontology/OntologyStore.pm
Criterion Covered Total %
branch 5 32 15.6


line true false branch
175 3 6 unless ($instance)
216 0 0 if ($id)
218 0 0 unless $ont
221 0 0 if ($name)
224 0 0 unless ($o)
228 0 0 if (ref $url eq 'ARRAY') { }
0 0 elsif ($url) { }
246 0 0 if (not $ont or $ont->identifier eq $o->identifier) { }
275 9 0 if (ref $ont and $ont->isa('Bio::Ontology::OntologyI'))
276 8 1 if $ont->name
280 0 0 unless (ref $ont and $ont->isa('Bio::Ontology::OntologyI'))
281 0 0 ref $ont ? :
284 0 0 if ($self->get_ontology(-'name', $ont->name))
290 0 0 if ($self->get_ontology(-'id', $ont->identifier))
321 0 0 unless $ont and ref $ont and $ont->isa('Bio::Ontology::OntologyI')
325 0 0 if $ont->name