Branch Coverage

blib/lib/MetaMap/DataStructures/Phrase.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
93 117 17 if ($text =~ /'(.*)'/)
168 1228 4469 if ($newConcept->equals($oldConcept)) { }
1469 3000 elsif ($newConcept->mapsToSameTokens($oldConcept)) { }
184 1228 2181 if ($conceptExists)
187 136 2045 if ($conceptIndex >= 0)
195 355 1228 unless ($conceptExists)
199 136 219 if ($conceptIndex >= 0) { }
233 0 0 if ($concept->{'cui'} eq $negatedCUI)
293 702 56 if ($self->{'text'} ne $other->{'text'})
303 182 1896 if ($mappingA->equals($mappingB))
311 0 182 if ($match < 1)
322 160 350 if ($conceptA->equals($conceptB))
330 0 160 if ($match < 1)
341 208 378 if ($tokenA->equals($tokenB))
349 0 208 if ($match < 1)
370 1 80 if ($concept->{'cui'} eq $cui)