Skip to content

fix: merge to main

e95a5c8
Select commit
Loading
Failed to load commit list.
Merged

Merge Release-3.8.1 to Main #134

fix: merge to main
e95a5c8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 22, 2026 in 31s

Quality Gate failed

Annotations

Check warning on line 70 in src/main/java/com/iemr/admin/controller/employeemaster/AshaSupervisorMappingController.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWuHqJQ-O8gW-0Tv&open=AZ5ORWuHqJQ-O8gW-0Tv&pullRequest=134

Check warning on line 75 in src/main/java/com/iemr/admin/service/store/StoreService.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWr7qJQ-O8gW-0Tb&open=AZ5ORWr7qJQ-O8gW-0Tb&pullRequest=134

Check failure on line 78 in src/main/java/com/iemr/admin/controller/employeemaster/AshaSupervisorMappingController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Unexpected error:" 7 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWuHqJQ-O8gW-0Tw&open=AZ5ORWuHqJQ-O8gW-0Tw&pullRequest=134

Check warning on line 47 in src/main/java/com/iemr/admin/service/user/EncryptUserPassword.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWraqJQ-O8gW-0TZ&open=AZ5ORWraqJQ-O8gW-0TZ&pullRequest=134

Check warning on line 41 in src/main/java/com/iemr/admin/data/store/M_FacilityLevel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this class 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=AZ5ORWthqJQ-O8gW-0Ts&open=AZ5ORWthqJQ-O8gW-0Ts&pullRequest=134

Check warning on line 404 in src/main/java/com/iemr/admin/service/store/StoreServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWsXqJQ-O8gW-0Te&open=AZ5ORWsXqJQ-O8gW-0Te&pullRequest=134

Check warning on line 507 in src/main/java/com/iemr/admin/service/store/StoreServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWsXqJQ-O8gW-0Tf&open=AZ5ORWsXqJQ-O8gW-0Tf&pullRequest=134

Check warning on line 60 in src/main/java/com/iemr/admin/service/facilitytype/M_facilitytypeServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWp0qJQ-O8gW-0TF&open=AZ5ORWp0qJQ-O8gW-0TF&pullRequest=134

Check warning on line 365 in src/main/java/com/iemr/admin/service/employeemaster/EmployeeMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWqaqJQ-O8gW-0TI&open=AZ5ORWqaqJQ-O8gW-0TI&pullRequest=134

Check warning on line 103 in src/main/java/com/iemr/admin/service/store/StoreServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "List".

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWsXqJQ-O8gW-0Tn&open=AZ5ORWsXqJQ-O8gW-0Tn&pullRequest=134

Check warning on line 86 in src/main/java/com/iemr/admin/data/store/M_FacilityLevel.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWthqJQ-O8gW-0Tt&open=AZ5ORWthqJQ-O8gW-0Tt&pullRequest=134

Check warning on line 522 in src/main/java/com/iemr/admin/service/store/StoreServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWsXqJQ-O8gW-0Tg&open=AZ5ORWsXqJQ-O8gW-0Tg&pullRequest=134

Check failure on line 196 in src/main/java/com/iemr/admin/controller/employeemaster/AshaSupervisorMappingController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWuHqJQ-O8gW-0Ty&open=AZ5ORWuHqJQ-O8gW-0Ty&pullRequest=134

Check warning on line 546 in src/main/java/com/iemr/admin/service/employeemaster/EmployeeMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWqaqJQ-O8gW-0TU&open=AZ5ORWqaqJQ-O8gW-0TU&pullRequest=134

Check failure on line 1024 in src/main/java/com/iemr/admin/service/employeemaster/EmployeeMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Admin" 7 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWqaqJQ-O8gW-0TQ&open=AZ5ORWqaqJQ-O8gW-0TQ&pullRequest=134

Check warning on line 824 in src/main/java/com/iemr/admin/service/employeemaster/EmployeeMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWqaqJQ-O8gW-0TW&open=AZ5ORWqaqJQ-O8gW-0TW&pullRequest=134

Check failure on line 396 in src/main/java/com/iemr/admin/service/store/StoreServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 83 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWsXqJQ-O8gW-0Tp&open=AZ5ORWsXqJQ-O8gW-0Tp&pullRequest=134

Check warning on line 50 in src/main/java/com/iemr/admin/service/provideronboard/EncryptUserPassword123.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWpKqJQ-O8gW-0TE&open=AZ5ORWpKqJQ-O8gW-0TE&pullRequest=134

Check warning on line 50 in src/main/java/com/iemr/admin/service/user/EncryptUserPassword.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWraqJQ-O8gW-0Ta&open=AZ5ORWraqJQ-O8gW-0Ta&pullRequest=134

Check failure on line 270 in src/main/java/com/iemr/admin/service/store/StoreServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 45 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWsXqJQ-O8gW-0To&open=AZ5ORWsXqJQ-O8gW-0To&pullRequest=134

Check warning on line 3 in src/main/java/com/iemr/admin/service/store/FacilityHierarchyService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this empty class, write its code or make it an "interface".

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWsFqJQ-O8gW-0Tc&open=AZ5ORWsFqJQ-O8gW-0Tc&pullRequest=134

Check warning on line 32 in src/main/java/com/iemr/admin/repository/facilitytype/M_FacilityLevelRepo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this interface 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=AZ5ORWvrqJQ-O8gW-0T1&open=AZ5ORWvrqJQ-O8gW-0T1&pullRequest=134

Check failure on line 1046 in src/main/java/com/iemr/admin/service/employeemaster/EmployeeMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 63 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWqaqJQ-O8gW-0TX&open=AZ5ORWqaqJQ-O8gW-0TX&pullRequest=134

Check warning on line 1056 in src/main/java/com/iemr/admin/service/employeemaster/EmployeeMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ5ORWqaqJQ-O8gW-0TM&open=AZ5ORWqaqJQ-O8gW-0TM&pullRequest=134

Check warning on line 121 in src/main/java/com/iemr/admin/utils/config/ConfigProperties.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ5ORWvhqJQ-O8gW-0T0&open=AZ5ORWvhqJQ-O8gW-0T0&pullRequest=134