Release 3.8.0 to main#171
Quality Gate failed
Failed conditions
1 Security Hotspot
Annotations
sonarqubecloud / SonarCloud Code Analysis
Use "isEmpty()" to check whether a "String" is empty or not.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN40wCc9a8pQX3xH&open=AZ8YVN40wCc9a8pQX3xH&pullRequest=171
Check failure on line 866 in src/main/java/com/iemr/common/identity/service/IdentityService.java
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN74wCc9a8pQX3xJ&open=AZ8YVN74wCc9a8pQX3xJ&pullRequest=171
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_Identity-API&issues=AZ8YVN40wCc9a8pQX3xE&open=AZ8YVN40wCc9a8pQX3xE&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 144 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN40wCc9a8pQX3xG&open=AZ8YVN40wCc9a8pQX3xG&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 143 to 64, Complexity from 35 to 14, Nesting Level from 8 to 2, Number of Variables from 37 to 6.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN40wCc9a8pQX3xI&open=AZ8YVN40wCc9a8pQX3xI&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "benRegId" 3 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN8lwCc9a8pQX3xK&open=AZ8YVN8lwCc9a8pQX3xK&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Extract this nested try block into a separate method.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN40wCc9a8pQX3xC&open=AZ8YVN40wCc9a8pQX3xC&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "benficieryid" 3 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN8lwCc9a8pQX3xL&open=AZ8YVN8lwCc9a8pQX3xL&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Remove this unused private "partitionList" method.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8msBJoVu2cc6JifUYf&open=AZ8msBJoVu2cc6JifUYf&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Extract this nested try block into a separate method.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN40wCc9a8pQX3xD&open=AZ8YVN40wCc9a8pQX3xD&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Method has 9 parameters, which is greater than 7 authorized.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN40wCc9a8pQX3xF&open=AZ8YVN40wCc9a8pQX3xF&pullRequest=171
sonarqubecloud / SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AZ8YVN40wCc9a8pQX3xB&open=AZ8YVN40wCc9a8pQX3xB&pullRequest=171