Branch Coverage

blib/lib/UMLS/Association.pm
Criterion Covered Total %
branch 10 58 17.2


line true false branch
210 0 1 unless (defined $errorhandler)
230 0 1 unless (defined $self and ref $self)
234 0 1 if ($params->{'mwa'})
235 0 1 if ($params->{'lta'})
236 0 1 if ($params->{'vsa'})
237 0 1 if ($paramCount > 1)
242 0 1 if ($params->{'conceptexpansion'})
245 0 1 if ($params->{'precision'})
252 0 1 unless (defined $statfinder_G)
259 0 1 if ($conceptExpansion_G and not defined $umls_G)
378 0 0 if ($conceptExpansion_G) { }
475 0 0 if ($n1p <= 0 or $np1 <= 0 or $npp <= 0)
478 0 0 if ($n11 <= 0)
483 0 0 unless (defined $statistic)
489 0 0 if ($statistic eq 'freq') { }
0 0 elsif ($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') { }
505 0 0 if ($statistic eq 'leftFisher') { }
0 0 elsif ($statistic eq 'rightFisher') { }
533 0 0 if (defined $errorCode)
534 0 0 if ($errorCode =~ /^1/)
537 0 0 if $errorMessage ne ''
540 0 0 if ($errorCode =~ /^2/)
543 0 0 if $errorMessage ne ''