Branch Coverage

blib/lib/UMLS/Association/StatFinder.pm
Criterion Covered Total %
branch 0 118 0.0


line true false branch
78 0 0 unless (defined $errorhandler)
111 0 0 unless (defined $self and ref $self)
115 0 0 unless defined $params
116 0 0 if (defined $params{'precision'})
124 0 0 if ($debug)
144 0 0 unless (defined $self and ref $self)
149 0 0 unless (defined $concept1)
152 0 0 unless (defined $concept2)
157 0 0 unless ($errorhandler->_validCui($concept1))
160 0 0 unless ($errorhandler->_validCui($concept2))
165 0 0 unless ($cuifinder->_exists($concept1))
169 0 0 unless ($cuifinder->_exists($concept2))
179 0 0 if (defined $freq) { }
193 0 0 unless (defined $self and ref $self)
198 0 0 unless (defined $concept)
203 0 0 unless ($errorhandler->_validCui($concept))
208 0 0 unless ($cuifinder->_exists($concept))
219 0 0 if (defined $np1) { }
233 0 0 unless (defined $self and ref $self)
238 0 0 unless (defined $concept)
243 0 0 unless ($errorhandler->_validCui($concept))
248 0 0 unless ($cuifinder->_exists($concept))
259 0 0 if (defined $n1p) { }
271 0 0 if ($NPP > 0)
274 0 0 unless (defined $self and ref $self)
284 0 0 if ($NPP <= 0)
304 0 0 unless (defined $self and ref $self)
309 0 0 unless (defined $concept1)
312 0 0 unless (defined $concept2)
317 0 0 unless ($cuifinder->_exists($concept1))
321 0 0 unless ($cuifinder->_exists($concept2))
335 0 0 unless $sth->execute
360 0 0 unless (defined $self and ref $self)
365 0 0 unless (defined $concept1)
368 0 0 unless (defined $concept2)
373 0 0 unless ($cuifinder->_exists($concept1))
377 0 0 unless ($cuifinder->_exists($concept2))
422 0 0 unless $sth->execute
449 0 0 unless (defined $self and ref $self)
456 0 0 if ($getdescendants) { }
465 0 0 if ($valid == -1)
478 0 0 unless (defined $n11 and defined $n1p and defined $np1)
491 0 0 if ($n11 < 0 or $n1p < 0 or $np1 < 0)
495 0 0 if ($n11 == 0)
500 0 0 unless (defined $statistic)
504 0 0 if ($statistic eq 'll') { }
0 0 elsif ($statistic eq 'pmi' or $statistic eq 'tmi' or $statistic eq 'ps') { }
0 0 elsif ($statistic eq 'x2' or $statistic eq 'phi') { }
0 0 elsif ($statistic eq 'leftFisher' or $statistic eq 'rightFisher' or $statistic eq 'twotailed') { }
0 0 elsif ($statistic eq 'dice' or $statistic eq 'jaccard') { }
0 0 elsif ($statistic eq 'odds') { }
0 0 elsif ($statistic eq 'tscore') { }
517 0 0 if ($statistic eq 'leftFisher') { }
0 0 elsif ($statistic eq 'rightFisher') { }
545 0 0 if (defined $errorCode)
546 0 0 if ($errorCode =~ /^1/)
549 0 0 if $errorMessage ne ''
552 0 0 if ($errorCode =~ /^2/)
555 0 0 if $errorMessage ne ''