Skip to content

Create endpoint for resending an EhrExtract #646

Create endpoint for resending an EhrExtract

Create endpoint for resending an EhrExtract #646

Triggered via pull request November 15, 2024 16:40
Status Success
Total duration 2m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

mutationtesting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
A change can be made to line 93 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L93
replaced boolean return with true for noErrorsInEhrReceivedAcknowledgement (no tests cover this line BooleanTrueReturnValsMutator)
2 different changes can be made to line 43 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L43
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE) removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 100 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L100
removed call to uk/nhs/adaptors/gp2gp/ehr/model/EhrExtractStatus::setUpdatedAt (no tests cover this line VoidMethodCallMutator)
A change can be made to line 127 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L127
replaced return value with null for createOperationOutcome (no tests cover this line NullReturnValsMutator)
2 different changes can be made to line 55 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L55
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE) removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 80 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L80
replaced return value with null for getCodeableConcept (no tests cover this line NullReturnValsMutator)
A change can be made to line 102 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L102
removed call to uk/nhs/adaptors/gp2gp/ehr/model/EhrExtractStatus::setEhrExtractCorePending (no tests cover this line VoidMethodCallMutator)
A change can be made to line 125 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L125
removed call to setDetails (no tests cover this line RemoveChainedCallsMutator)
A change can be made to line 78 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L78
removed call to setCode (no tests cover this line RemoveChainedCallsMutator)
A change can be made to line 123 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L123
removed call to setCode (no tests cover this line RemoveChainedCallsMutator)
A change can be made to line 63 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L63
replaced return value with null for scheduleEhrExtractResend (no tests cover this line NullReturnValsMutator)
A change can be made to line 86 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L86
replaced boolean return with false for noErrorsInEhrReceivedAcknowledgement (no tests cover this line BooleanFalseReturnValsMutator)
A change can be made to line 104 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L104
removed call to uk/nhs/adaptors/gp2gp/ehr/model/EhrExtractStatus::setAckPending (no tests cover this line VoidMethodCallMutator)
2 different changes can be made to line 90 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L90
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE) removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 69 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L69
removed call to createGetGpcStructuredTask (no tests cover this line VoidMethodCallMutator)
A change can be made to line 71 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L71
replaced return value with null for scheduleEhrExtractResend (no tests cover this line NullReturnValsMutator)
A change can be made to line 120 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L120
removed call to setProfile (no tests cover this line RemoveChainedCallsMutator)
A change can be made to line 52 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L52
replaced return value with null for scheduleEhrExtractResend (no tests cover this line NullReturnValsMutator)
A change can be made to line 113 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L113
removed call to uk/nhs/adaptors/gp2gp/common/task/TaskDispatcher::createTask (no tests cover this line VoidMethodCallMutator)
2 different changes can be made to line 79 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L79
replaced call to List.of(o1) with List.of() (no tests cover this line OneLessParamOverloadMutator) removed call to setCoding (no tests cover this line RemoveChainedCallsMutator)
A change can be made to line 99 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L99
removed call to uk/nhs/adaptors/gp2gp/ehr/model/EhrExtractStatus::setCreated (no tests cover this line VoidMethodCallMutator)
A change can be made to line 77 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L77
removed call to setSystem (no tests cover this line RemoveChainedCallsMutator)
A change can be made to line 101 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L101
removed call to uk/nhs/adaptors/gp2gp/ehr/model/EhrExtractStatus::setMessageTimestamp (no tests cover this line VoidMethodCallMutator)
A change can be made to line 126 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L126
removed call to setDiagnostics (no tests cover this line RemoveChainedCallsMutator)
A change can be made to line 124 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L124
removed call to setSeverity (no tests cover this line RemoveChainedCallsMutator)
2 different changes can be made to line 85 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L85
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE) removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 107 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L107
replaced return value with null for prepareEhrExtractStatusForNewResend (no tests cover this line NullReturnValsMutator)
A change can be made to line 103 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L103
removed call to uk/nhs/adaptors/gp2gp/ehr/model/EhrExtractStatus::setEhrContinue (no tests cover this line VoidMethodCallMutator)
A change can be made to line 91 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L91
replaced boolean return with false for noErrorsInEhrReceivedAcknowledgement (no tests cover this line BooleanFalseReturnValsMutator)
A change can be made to line 105 without causing a test to fail: service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java#L105
removed call to uk/nhs/adaptors/gp2gp/ehr/model/EhrExtractStatus::setEhrReceivedAcknowledgement (no tests cover this line VoidMethodCallMutator)