Branch Coverage

blib/lib/GO/Node.pm
Criterion Covered Total %
branch 10 36 27.7


line true false branch
114 1 25115 if (not exists $args{'goid'} && defined $args{'goid'}) { }
1 25114 elsif (not exists $args{'term'} && defined $args{'term'}) { }
309 0 0 unless $self->isADescendantOf($ancestor)
317 0 0 if ($$path[$j] == $ancestor)
338 0 0 if exists $duplicates{$i}
344 0 0 if exists $duplicates{$j}
348 0 0 if scalar @{$paths[$i];} != scalar @{$paths[$j];}
356 0 0 if $paths[$i][$k] != $paths[$j][$k]
370 0 0 if exists $duplicates{$i}
390 1205 31505 unless (exists $$self{$kAncestors})
429 0 0 if scalar @{$path;} > $maxLength
454 0 0 if not defined $minLength or scalar @{$path;} < $minLength
487 0 0 if ($num)
517 0 21643 unless $parent->isAParentOf($self)
525 0 21643 unless $child->isAChildOf($self)
533 0 312066 unless $$path[-1]->isAParentOf($self)
534 0 312066 unless $self->isAChildOf($$path[-1])
620 0 0 unless exists $$self{$kAncestors}