Refactor AllergyStructureMapper
#1430
Pitest mutation testing feedback
- Surviving mutants in this change: 16
- Killed mutants in this change: 76
| class | surviving | killed |
|---|---|---|
🧟uk.nhs.adaptors.gp2gp.ehr.mapper.PertinentInformationAllergyMapper |
9 | 40 |
🧟uk.nhs.adaptors.gp2gp.ehr.mapper.AllergyStructureMapper |
7 | 36 |
Annotations
github-actions / pitest
A change can be made to line 107 without causing a test to fail
removed call to filter (covered by 4 tests RemoveFilterMutator)
github-actions / pitest
A change can be made to line 105 without causing a test to fail
removed call to filter (covered by 4 tests RemoveFilterMutator)
github-actions / pitest
2 different changes can be made to line 78 without causing a test to fail
removed conditional - replaced equality check with false (covered by 40 tests RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (covered by 40 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 72 without causing a test to fail
removed conditional - replaced equality check with true (covered by 40 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 112 without causing a test to fail
removed call to filter (covered by 4 tests RemoveFilterMutator)
github-actions / pitest
A change can be made to a lambda on line 110 without causing a test to fail
removed call to filter in 2nd lambda in buildAsserterPertinentInformation (covered by 2 tests RemoveFilterMutator)
github-actions / pitest
A change can be made to line 139 without causing a test to fail
removed conditional - replaced equality check with true (covered by 40 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 154 without causing a test to fail
removed conditional - replaced equality check with true (covered by 40 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 128 without causing a test to fail
removed conditional - replaced equality check with false (covered by 40 tests RemoveConditionalMutator_EQUAL_ELSE)
github-actions / pitest
A change can be made to line 71 without causing a test to fail
removed conditional - replaced equality check with false (covered by 40 tests RemoveConditionalMutator_EQUAL_ELSE)
github-actions / pitest
A change can be made to line 107 without causing a test to fail
removed conditional - replaced equality check with true (covered by 36 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
2 different changes can be made to line 152 without causing a test to fail
removed conditional - replaced equality check with false (covered by 41 tests RemoveConditionalMutator_EQUAL_ELSE)
replaced boolean return with true for isMedicationOrEnvironmentCategory (covered by 41 tests BooleanTrueReturnValsMutator)
github-actions / pitest
A change can be made to line 153 without causing a test to fail
removed conditional - replaced equality check with true (covered by 35 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 83 without causing a test to fail
removed conditional - replaced equality check with true (covered by 29 tests RemoveConditionalMutator_EQUAL_IF)