Branch Coverage

blib/lib/UMLS/Interface/STFinder.pm
Criterion Covered Total %
branch 0 180 0.0


line true false branch
93 0 0 unless (defined $errorhandler)
100 0 0 unless (defined $handler)
112 0 0 unless ($db)
134 0 0 unless (defined $self and ref $self)
139 0 0 unless ($st)
144 0 0 unless ($errorhandler->_validTui($st))
150 0 0 unless (defined $prob)
153 0 0 if ($prob > 0 and $prob < 1)
170 0 0 unless (defined $self and ref $self)
175 0 0 unless ($st)
180 0 0 unless ($errorhandler->_validTui($st))
186 0 0 unless (defined $prob)
204 0 0 unless (defined $self and ref $self)
229 0 0 unless (defined $self and ref $self)
234 0 0 unless (defined $hash)
265 0 0 unless (defined $self and ref $self)
273 0 0 if (defined $set)
278 0 0 unless (exists $hash{$s})
299 0 0 unless (defined $self and ref $self)
304 0 0 unless ($st)
309 0 0 unless ($errorhandler->_validTui($st))
313 0 0 if (exists $maxDepth{$st}) { }
328 0 0 unless (defined $self and ref $self)
333 0 0 unless ($st)
338 0 0 unless ($errorhandler->_validTui($st))
342 0 0 if (exists $minDepth{$st}) { }
362 0 0 unless (defined $self and ref $self)
367 0 0 unless ($st)
372 0 0 unless ($errorhandler->_validTui($st))
384 0 0 if (exists $maxDepth{$st}) { }
385 0 0 if ($maxDepth{$st} < $depth)
389 0 0 if (exists $minDepth{$st}) { }
390 0 0 if ($minDepth{$st} > $depth)
400 0 0 if (defined $set)
401 0 0 unless ($set =~ /^\s*$/)
414 0 0 if ($s eq $child)
418 0 0 if ($flag == 0)
426 0 0 if (defined $set)
463 0 0 unless (defined $self and ref $self)
470 0 0 if ($st =~ /^\s*$/)
472 0 0 if (exists $propagationFreq{$st})
478 0 0 if ($smooth == 1)
503 0 0 unless (defined $self and ref $self)
510 0 0 if ($st =~ /^\s*$/)
540 0 0 unless (defined $self and ref $self)
546 0 0 unless ($db)
568 0 0 unless (exists $upper{$st})
611 0 0 unless (defined $self and ref $self)
621 0 0 if (defined $debugoption)
628 0 0 if (defined $debugpath)
631 0 0 unless open DEBUG_FILE, ">$debugpath"
636 0 0 if (defined $verbose)
641 0 0 if (defined $t)
644 0 0 if (defined $verbose)
650 0 0 if ($option_t == 0)
664 0 0 unless defined $self and ref $self
670 0 0 unless (defined $self and ref $self)
675 0 0 unless ($tui)
680 0 0 unless ($errorhandler->_validTui($tui))
711 0 0 if (exists $visited{$series}) { }
718 0 0 if ($option_debugpath)
724 0 0 if ($st eq $root)
733 0 0 if ($#{$parents{$st};} < 0)
743 0 0 if ($series =~ /$parent/)
744 0 0 if ($st eq $parent)
753 0 0 if ($stackflag == 0)
779 0 0 unless (defined $self and ref $self)
784 0 0 unless (defined $st1)
787 0 0 unless (defined $st2)
792 0 0 unless ($errorhandler->_validTui($st1))
795 0 0 unless ($errorhandler->_validTui($st2))
811 0 0 if (defined $lcs)
827 0 0 if $st eq $lcs
832 0 0 if $st eq $lcs
838 0 0 if (exists $lcsLengths{$lcs}) { }
839 0 0 if ($lcsLengths{$lcs} >= $rCount + $lCount - 1)
857 0 0 unless (scalar keys %lcsPaths)
865 0 0 if ($prev_len == -1 or $prev_len == $lcsLengths{$lcs}) { }
867 0 0 if ($#{$pathref;} + 1 == $lcsLengths{$lcs})
898 0 0 unless (defined $self and ref $self)
903 0 0 unless (defined $arrayref1)
906 0 0 unless (defined $arrayref2)
921 0 0 if ($tmpString =~ / $element /)
944 0 0 unless (defined $self and ref $self)
949 0 0 unless (defined $st1)
952 0 0 unless (defined $st2)
957 0 0 unless ($errorhandler->_validTui($st1))
960 0 0 unless ($errorhandler->_validTui($st2))
970 0 0 if ($path =~ /T[0-9]+/)
985 0 0 if ($debug)