Merge 3.8.4 3.9 - #182
Quality Gate passed
Annotations
Check warning on line 99 in src/main/java/com/iemr/mmu/repo/stoptb/NikshayExportRepository.java
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvto-euFP2uxtMKcB&open=AaCKvto-euFP2uxtMKcB&pullRequest=182
Check warning on line 111 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Rename this variable to not match a restricted identifier.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcL&open=AaCKvttSeuFP2uxtMKcL&pullRequest=182
Check warning on line 105 in src/main/java/com/iemr/mmu/service/stoptb/NikshayExportService.java
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtspeuFP2uxtMKcD&open=AaCKvtspeuFP2uxtMKcD&pullRequest=182
Check warning on line 84 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcJ&open=AaCKvttSeuFP2uxtMKcJ&pullRequest=182
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtxfeuFP2uxtMKcS&open=AaCKvtxfeuFP2uxtMKcS&pullRequest=182
Check warning on line 186 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Use concise character class syntax '\\d' instead of '[0-9]'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcO&open=AaCKvttSeuFP2uxtMKcO&pullRequest=182
Check warning on line 207 in src/main/java/com/iemr/mmu/service/stoptb/NikshayExportService.java
sonarqubecloud / SonarCloud Code Analysis
Use concise character class syntax '\\D' instead of '[^0-9]'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtspeuFP2uxtMKcE&open=AaCKvtspeuFP2uxtMKcE&pullRequest=182
Check failure on line 84 in src/main/java/com/iemr/mmu/service/stoptb/NikshayExportService.java
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Unknown" 9 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtspeuFP2uxtMKcC&open=AaCKvtspeuFP2uxtMKcC&pullRequest=182
Check failure on line 87 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcK&open=AaCKvttSeuFP2uxtMKcK&pullRequest=182
sonarqubecloud / SonarCloud Code Analysis
Move the conditional expression inside this operation.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtuyeuFP2uxtMKcP&open=AaCKvtuyeuFP2uxtMKcP&pullRequest=182
Check warning on line 182 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Use concise character class syntax '\\D' instead of '[^0-9]'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcN&open=AaCKvttSeuFP2uxtMKcN&pullRequest=182
Check warning on line 110 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcI&open=AaCKvttSeuFP2uxtMKcI&pullRequest=182
Check warning on line 211 in src/main/java/com/iemr/mmu/service/stoptb/NikshayExportService.java
sonarqubecloud / SonarCloud Code Analysis
Use concise character class syntax '\\d' instead of '[0-9]'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtspeuFP2uxtMKcF&open=AaCKvtspeuFP2uxtMKcF&pullRequest=182
Check warning on line 219 in src/main/java/com/iemr/mmu/service/stoptb/NikshayExportService.java
sonarqubecloud / SonarCloud Code Analysis
Use concise character class syntax '\\d' instead of '[0-9]'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtspeuFP2uxtMKcG&open=AaCKvtspeuFP2uxtMKcG&pullRequest=182
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "unknown" 3 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtxfeuFP2uxtMKcQ&open=AaCKvtxfeuFP2uxtMKcQ&pullRequest=182
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtxfeuFP2uxtMKcT&open=AaCKvtxfeuFP2uxtMKcT&pullRequest=182
Check warning on line 88 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Replace generic exceptions with specific library exceptions or a custom exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcH&open=AaCKvttSeuFP2uxtMKcH&pullRequest=182
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtxfeuFP2uxtMKcR&open=AaCKvtxfeuFP2uxtMKcR&pullRequest=182
Check warning on line 142 in src/main/java/com/iemr/mmu/service/stoptb/NikshayImportService.java
sonarqubecloud / SonarCloud Code Analysis
Extract this regular expression to a Pattern compiled outside the loop.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvttSeuFP2uxtMKcM&open=AaCKvttSeuFP2uxtMKcM&pullRequest=182
sonarqubecloud / SonarCloud Code Analysis
Remove usage of generic wildcard type.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaCKvtxfeuFP2uxtMKcU&open=AaCKvtxfeuFP2uxtMKcU&pullRequest=182