ConceptDAOTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,116 of 1,1160%28 of 280%44442202203030
getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce()1300%20%22303011
weighConceptWord_shouldWeighAWordForAPreferredFullySpecifiedHigherThanThatOfAPlainFullySpecifiedName()600%20%22121211
weighConceptWord_shouldWeighAWordForAPreferredFullySpecifiedHigherThanThatOfAPlainPreferredName()600%20%22121211
getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight()590%n/a11121211
weighConceptWord_shouldAssignAHigherWeightToAShorterWordIfBothWordsAreEqualToConceptName()570%20%22101011
weighConceptWord_shouldAssignAHigherWeightToAShorterWordIfBothWordsAreAtTheStartOfTheConceptName()570%20%22111111
weighConceptWord_shouldWeighAWordForAPreferredNameHigherThanThatOfAFullySpecifiedName()570%20%22101011
weighConceptWord_shouldWeighAWordForAShorterConceptNameHigherThanThatOfALongerConceptName()570%20%22101011
weighConceptWord_shouldWeighAWordForAnIndexTermHigherThanThatOfAPreferredName()570%20%22101011
weighConceptWord_shouldWeighWordsCloserToTheStartHigherThanThoseCloserToTheEndOfTheConceptName()570%20%22101011
weighConceptWord_shouldWeighAWordEqualToAConceptNameHigherThanOneThatMatchesTheStartOfTheConceptName()570%20%22101011
weighConceptWord_shouldWeighAWordForAnIndexTermHigherThanThatOfAFullySpecifiedName()560%20%22101011
weighConceptWord_shouldWeighAWordForAFullySpecifiedNameHigherThanThatOfASynonym()530%20%229911
weighConceptWord_shouldWeighAWordForASynonymHigherThanThatOfAShortName()530%20%229911
weighConceptWord_shouldWeighWordsWhenJvmIsRunInALocaleWithADifferentDecimalSeparatorCharacter()330%n/a117711
getConceptsByAnswer_shouldReturnConceptsForTheGivenAnswerConcept()300%n/a117711
weighConceptWord_shouldAssignZeroWeightIfTheWordIsNotAmongTheConceptNameWords()280%n/a115511
getConcepts_shouldNotReturnConceptsWithMatchingNamesThatAreVoided()260%n/a115511
purgeConcept_shouldDeleteConceptWithWords()200%n/a115511
updateConceptWord_shouldUpdateConceptWithWords()200%n/a115511
runBeforeEachTest()110%20%223311
AllConceptSources_shouldReturnAllConceptSources()90%n/a112211
AllConceptSources_shouldReturnAllUnretiredConceptSources()90%n/a112211
isConceptMapTypeInUse_shouldReturnTrueIfAMapTypeHasAConceptMapOrMoreUsingIt()90%n/a112211
isConceptMapTypeInUse_shouldReturnTrueIfAMapTypeHasAConceptReferenceTermMapOrMoreUsingIt()90%n/a112211
isConceptReferenceTermInUse_shouldReturnTrueIfATermHasAConceptMapOrMoreUsingIt()90%n/a112211
isConceptReferenceTermInUse_shouldReturnTrueIfATermHasAConceptReferenceTermMapOrMoreUsingIt()90%n/a112211
isConceptMapTypeInUse_shouldReturnFalseIfAMapTypeHasNoMapsUsingIt()90%n/a112211
isConceptReferenceTermInUse_shouldReturnFalseIfATermHasNoMapsUsingIt()90%n/a112211
ConceptDAOTest()60%n/a112211