Skip to content

Refactor CodeableConceptCdMapper #992

Refactor CodeableConceptCdMapper

Refactor CodeableConceptCdMapper #992

Triggered via pull request March 5, 2025 13:57
Status Success
Total duration 11m 42s
Artifacts 5

build_workflow.yml

on: pull_request
Matrix: Build & Publish Docker Images
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
A change can be made to line 388 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/CodeableConceptCdMapper.java#L388
removed conditional - replaced equality check with false (covered by 3 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 360 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/CodeableConceptCdMapper.java#L360
removed conditional - replaced equality check with true (covered by 3 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 394 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/CodeableConceptCdMapper.java#L394
removed conditional - replaced equality check with true (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 352 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/CodeableConceptCdMapper.java#L352
removed conditional - replaced equality check with false (covered by 6 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 389 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/CodeableConceptCdMapper.java#L389
replaced return value with Optional.empty for getOriginalTextForResolvedAllergy (no tests cover this line EmptyObjectReturnValsMutator)
A change can be made to line 408 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/CodeableConceptCdMapper.java#L408
removed conditional - replaced equality check with true (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 378 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/CodeableConceptCdMapper.java#L378
removed conditional - replaced equality check with true (covered by 2 tests RemoveConditionalMutator_EQUAL_IF)

Artifacts

Produced during runtime
Name Size Digest
Checkstyle Reports Expired
5.32 KB
sha256:cecad215d54276a6eb57a051edbe664f639b3cae38548478ea0a78b3a57358c3
End-to-End Test Results & Docker Logs Expired
2.5 MB
sha256:5f2e16d2f8dd0800fd1062332a9b6551ff831be4aa23623abd1c814e436c1c4e
Integration Test Reports & Docker Logs Expired
1.19 MB
sha256:fd0e5996f57d3b4a54f71e8f365f864e49601ff74935c60a88881250cdefb84f
Spotbugs Reports Expired
14 KB
sha256:5dff376b14d604f43f308bf13d37a05fc8087fe5575d20807fefefb8d4506286
Unit Test Reports Expired
1.14 MB
sha256:7c8cf7debc20a354340bb3dee22665bfc29d2b60cc6ff39014b23999286b6f41