Branch Coverage

blib/lib/UMLS/Association.pm
Criterion Covered Total %
branch 27 60 45.0


line true false branch
117 0 24 unless (defined $errorhandler)
137 0 24 unless (defined $self and ref $self)
141 4 20 if ($params->{'mwa'})
142 4 20 if ($params->{'lta'})
143 5 19 if ($params->{'lsa'})
144 4 20 if ($params->{'sbc'})
145 2 22 if ($params->{'wsa'})
146 0 24 if ($paramCount > 1)
151 0 24 if ($params->{'precision'})
154 0 24 if ($params->{'debug'})
161 0 24 if (not defined $statfinder_G)
390 0 35 if ($debug)
403 0 35 if ($n1p <= 0 or $np1 <= 0 or $npp <= 0)
406 2 33 if ($n11 <= 0)
411 0 33 unless (defined $statistic)
417 7 26 if ($statistic eq 'freq') { }
0 26 elsif ($statistic eq 'll') { }
0 26 elsif ($statistic eq 'pmi' or $statistic eq 'tmi' or $statistic eq 'ps') { }
26 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') { }
433 0 0 if ($statistic eq 'leftFisher') { }
0 0 elsif ($statistic eq 'rightFisher') { }
461 0 26 if (defined $errorCode)
462 0 0 if ($errorCode =~ /^1/)
465 0 0 if $errorMessage ne ''
468 0 0 if ($errorCode =~ /^2/)
471 0 0 if $errorMessage ne ''