Branch Coverage

blib/lib/UMLS/Interface/ICFinder.pm
Criterion Covered Total %
branch 0 226 0.0


line true false branch
90 0 0 unless (defined $errorhandler)
97 0 0 unless (defined $chandler)
106 0 0 unless (defined $phandler)
130 0 0 unless (defined $self and ref $self)
136 0 0 unless ($sdb)
146 0 0 if ($option_icpropagation)
151 0 0 if ($option_icfrequency)
162 0 0 if ($debug)
176 0 0 unless (defined $self and ref $self)
191 0 0 if (defined $icpropagation or defined $icfrequency or defined $realtime or defined $debugoption or defined $icsmooth)
197 0 0 if (defined $debugoption)
202 0 0 if (defined $icsmooth)
208 0 0 if (defined $icpropagation)
215 0 0 if (defined $icfrequency)
222 0 0 if (defined $realtime)
229 0 0 if (defined $t) { }
250 0 0 unless (defined $self and ref $self)
254 0 0 if ($option == 1) { }
272 0 0 if ($configN == 0)
292 0 0 unless (defined $self and ref $self)
297 0 0 unless ($concept)
302 0 0 unless ($errorhandler->_validCui($concept))
322 0 0 if ($concept =~ /^\s*$/)
326 0 0 if ($concept =~ /C1274012/)
328 0 0 if ($concept =~ /C1274013/)
330 0 0 if ($concept =~ /C1276325/)
332 0 0 if ($concept =~ /C1274014/)
334 0 0 if ($concept =~ /C1274015/)
336 0 0 if ($concept =~ /C1274021/)
338 0 0 if ($concept =~ /C2733115/)
340 0 0 if ($concept =~ /C1443286/)
359 0 0 if ($cui eq $child)
365 0 0 if ($flag == 0)
371 0 0 if ($#{$children;} < 0)
388 0 0 unless (defined $self and ref $self)
393 0 0 unless ($concept)
398 0 0 unless ($errorhandler->_validCui($concept))
404 0 0 if ($option_realtime) { }
413 0 0 unless ($sdb)
424 0 0 if ($check != 1)
454 0 0 if (defined $leaves)
455 0 0 if ($leaves != 0 and $subsumers != 0)
469 0 0 if ($max_leaves == 0)
492 0 0 unless (defined $self and ref $self)
497 0 0 unless ($concept)
502 0 0 unless ($errorhandler->_validCui($concept))
510 0 0 if ($option_icfrequency)
529 0 0 unless (defined $prob)
532 0 0 if ($prob > 0 and $prob < 1)
550 0 0 unless (defined $self and ref $self)
555 0 0 unless ($concept)
560 0 0 unless ($errorhandler->_validCui($concept))
568 0 0 if ($option_icfrequency)
588 0 0 unless (defined $prob)
605 0 0 unless (defined $self and ref $self)
610 0 0 unless ($concept)
615 0 0 unless ($errorhandler->_validCui($concept))
623 0 0 if ($option_icfrequency)
658 0 0 unless (defined $self and ref $self)
663 0 0 unless open FILE, $frequencyFile
674 0 0 if ($rela =~ /RELA/) { }
689 0 0 unless ($self->_checkParameters($configsab, $sab))
695 0 0 unless ($self->_checkParameters($configrel, $rel))
701 0 0 if ($rela ne '')
702 0 0 unless ($self->_checkParameters($_, $cuifinder->_getRelaString))
709 0 0 unless ($self->_checkHierarchicalRelations($configrel))
719 0 0 if ($_ =~ /^\s*$/)
726 0 0 if ($cui =~ /C[0-9]/ and $freq =~ /[0-9]+/)
727 0 0 if (exists $frequencyHash{$cui}) { }
751 0 0 unless (defined $self and ref $self)
770 0 0 unless (defined $self and ref $self)
796 0 0 unless (defined $self and ref $self)
803 0 0 if ($cui =~ /^\s*$/)
806 0 0 if (exists $propagationFreq{$cui})
813 0 0 if ($smooth == 1)
840 0 0 unless (defined $string1 or defined $string2)
841 0 0 if ($string1 =~ /^\s*$/ and $string2 =~ /^\s*$/)
842 0 0 if ($string1 =~ /^\s*$/ and not $string2 =~ /^\s*$/)
843 0 0 if (not $string1 =~ /^\s*$/ and $string2 =~ /^\s*$/)
845 0 0 unless ($string1 =~ /([A-Z]+) :: (include|exclude) (.*?)$/)
846 0 0 unless ($string2 =~ /([A-Z]+) :: (include|exclude) (.*?)$/)
858 0 0 if ($option1 ne $option2)
859 0 0 if ($type1 ne $type2)
871 0 0 if ($hash{$element} != 2)
899 0 0 unless ($rel =~ /(PAR|CHD|RB|RN)/)
918 0 0 unless (defined $self and ref $self)
923 0 0 unless open FILE, $propagationFile
936 0 0 if ($rela =~ /RELA/) { }
951 0 0 unless ($self->_checkParameters($configsab, $sab))
957 0 0 unless ($self->_checkParameters($configrel, $rel))
963 0 0 if ($rela ne '')
964 0 0 unless ($self->_checkParameters($_, $cuifinder->_getRelaString))
971 0 0 unless ($self->_checkHierarchicalRelations($configrel))
980 0 0 if ($_ =~ /^\s*$/)
1004 0 0 unless (defined $self and ref $self)
1009 0 0 unless ($concept)
1014 0 0 unless ($errorhandler->_validCui($concept))
1023 0 0 if (exists $propagationHash{$concept}) { }
1045 0 0 unless (defined $self and ref $self)
1050 0 0 unless (defined $fhash)
1085 0 0 unless (defined $self and ref $self)
1093 0 0 if (defined $set)
1097 0 0 unless (exists $hash{$c})
1123 0 0 unless (defined $self and ref $self)
1128 0 0 unless ($concept)
1133 0 0 unless ($errorhandler->_validCui($concept))
1138 0 0 if ($cuifinder->_forbiddenConcept($concept))
1151 0 0 if (defined $set)
1152 0 0 unless ($set =~ /^\s*$/)
1167 0 0 if ($cuifinder->_forbiddenConcept($child))
1171 0 0 if ($cui eq $child)
1175 0 0 if ($flag == 0)
1183 0 0 if (defined $set)