Merge Release 3.8.2 into Main - #151
Quality Gate failed
Failed conditions
7.1% Duplication on New Code (required ≤ 3%)
Annotations
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbi&open=AaDHxC-KeODKnJ8Wkbbi&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Format specifiers should be used instead of string concatenation.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbo&open=AaDHxC-KeODKnJ8Wkbbo&pullRequest=151
Check warning on line 93 in src/main/java/com/iemr/admin/data/nikshay/NikshayDistrict.java
sonarqubecloud / SonarCloud Code Analysis
Change this instance-reference to a static reference.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDC9eODKnJ8Wkbbz&open=AaDHxDC9eODKnJ8Wkbbz&pullRequest=151
Check warning on line 91 in src/main/java/com/iemr/admin/data/nikshay/NikshayVillage.java
sonarqubecloud / SonarCloud Code Analysis
Change this instance-reference to a static reference.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDCOeODKnJ8Wkbbu&open=AaDHxDCOeODKnJ8Wkbbu&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDFseODKnJ8Wkbb4&open=AaDHxDFseODKnJ8Wkbb4&pullRequest=151
Check warning on line 102 in src/main/java/com/iemr/admin/data/bulkuser/Employee.java
sonarqubecloud / SonarCloud Code Analysis
Rename this field "EmployeeId" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDB6eODKnJ8Wkbbt&open=AaDHxDB6eODKnJ8Wkbbt&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Use the built-in formatting to construct this argument.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-JeODKnJ8WkbbX&open=AaDHxC-JeODKnJ8WkbbX&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Current District is invalid." 3 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbc&open=AaDHxC-KeODKnJ8Wkbbc&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbh&open=AaDHxC-KeODKnJ8Wkbbh&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 178 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbm&open=AaDHxC-KeODKnJ8Wkbbm&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC8JeODKnJ8WkbbS&open=AaDHxC8JeODKnJ8WkbbS&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_UserDemographicsRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbe&open=AaDHxC-KeODKnJ8Wkbbe&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDFseODKnJ8Wkbb8&open=AaDHxDFseODKnJ8Wkbb8&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-JeODKnJ8WkbbV&open=AaDHxC-JeODKnJ8WkbbV&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Remove this unused method parameter "authorization".
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbn&open=AaDHxC-KeODKnJ8Wkbbn&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Remove this duplicated import.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC4JeODKnJ8WkbbR&open=AaDHxC4JeODKnJ8WkbbR&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "First name is invalid." 4 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-JeODKnJ8WkbbZ&open=AaDHxC-JeODKnJ8WkbbZ&pullRequest=151
Check warning on line 96 in src/main/java/com/iemr/admin/data/nikshay/NikshayFacility.java
sonarqubecloud / SonarCloud Code Analysis
Change this instance-reference to a static reference.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDCXeODKnJ8Wkbbv&open=AaDHxDCXeODKnJ8Wkbbv&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Use the built-in formatting to construct this argument.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-JeODKnJ8WkbbW&open=AaDHxC-JeODKnJ8WkbbW&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbg&open=AaDHxC-KeODKnJ8Wkbbg&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Replace "@RequestMapping(method = RequestMethod.POST)" with "@PostMapping"
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDFXeODKnJ8Wkbb1&open=AaDHxDFXeODKnJ8Wkbb1&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_DesignationRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxC-KeODKnJ8Wkbbf&open=AaDHxC-KeODKnJ8Wkbbf&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDFseODKnJ8Wkbb5&open=AaDHxDFseODKnJ8Wkbb5&pullRequest=151
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_Admin-API&issues=AaDHxDAEeODKnJ8Wkbbr&open=AaDHxDAEeODKnJ8Wkbbr&pullRequest=151
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDHxDFseODKnJ8Wkbb3&open=AaDHxDFseODKnJ8Wkbb3&pullRequest=151