Branch Coverage

Bio/Ontology/Relationship.pm
Criterion Covered Total %
branch 30 36 83.3


line true false branch
166 2 1348 unless $subject_term
167 2 1348 unless $object_term
168 1 1349 unless $predicate_term
169 1349 1 if $subject_term
170 1349 1 if $object_term
171 1350 0 if $predicate_term
172 1349 1 if $ont
218 1 1351 if (defined $value)
248 1349 1423 if (defined $term)
279 1349 1507 if (defined $term)
310 1350 38 if (defined $term)
337 2699 1342 if (@_)
339 1349 1350 if ($ont)
340 0 1349 unless ref $ont
341 0 1349 unless ($ont->isa('Bio::Ontology::OntologyI'))
386 0 4048 if (not defined $value) { }
0 4048 elsif (not ref $value) { }
0 4048 elsif (not $value->isa($expected_class)) { }