Add unit test cases - #152
vanitha1822 wants to merge 1 commit into
Quality Gate failed
Failed conditions
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 81 in src/test/java/com/iemr/admin/service/uom/UomServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Rename this variable to not match a restricted identifier.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyWrs0MU5LNv22Vv&open=AaDoJyWrs0MU5LNv22Vv&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_facilitytypeRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJybUs0MU5LNv22Wm&open=AaDoJybUs0MU5LNv22Wm&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Use a static import for "never".
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyXms0MU5LNv22V0&open=AaDoJyXms0MU5LNv22V0&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_CommunityRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyZqs0MU5LNv22WQ&open=AaDoJyZqs0MU5LNv22WQ&pullRequest=152
Check warning on line 236 in src/test/java/com/iemr/admin/service/user/IemrUserServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyZCs0MU5LNv22WE&open=AaDoJyZCs0MU5LNv22WE&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this variable to not match a restricted identifier.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyWIs0MU5LNv22Vs&open=AaDoJyWIs0MU5LNv22Vs&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "M_itemfacilitymappingInter" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyfys0MU5LNv22XJ&open=AaDoJyfys0MU5LNv22XJ&pullRequest=152
Check warning on line 142 in src/test/java/com/iemr/admin/utils/response/OutputResponseTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyhCs0MU5LNv22Xf&open=AaDoJyhCs0MU5LNv22Xf&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_InstitutedirectorymappingInter" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJycYs0MU5LNv22Wv&open=AaDoJycYs0MU5LNv22Wv&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_InstitutionRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyVhs0MU5LNv22Vh&open=AaDoJyVhs0MU5LNv22Vh&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Use assertNotEquals instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyYOs0MU5LNv22V9&open=AaDoJyYOs0MU5LNv22V9&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_facilityLevelRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJybUs0MU5LNv22Wn&open=AaDoJybUs0MU5LNv22Wn&pullRequest=152
Check warning on line 206 in src/test/java/com/iemr/admin/utils/response/OutputResponseTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyhCs0MU5LNv22Xl&open=AaDoJyhCs0MU5LNv22Xl&pullRequest=152
Check warning on line 169 in src/test/java/com/iemr/admin/service/user/EncryptUserPasswordTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyZUs0MU5LNv22WH&open=AaDoJyZUs0MU5LNv22WH&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Use assertNull instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyTfs0MU5LNv22Vb&open=AaDoJyTfs0MU5LNv22Vb&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_itemfacilitymappingRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyWZs0MU5LNv22Vu&open=AaDoJyWZs0MU5LNv22Vu&pullRequest=152
Check warning on line 108 in src/test/java/com/iemr/admin/utils/response/OutputResponseTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyhCs0MU5LNv22Xc&open=AaDoJyhCs0MU5LNv22Xc&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "serviceProvider_ServiceImpl" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJycYs0MU5LNv22W3&open=AaDoJycYs0MU5LNv22W3&pullRequest=152
Check warning on line 117 in src/test/java/com/iemr/admin/utils/response/OutputResponseTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyhCs0MU5LNv22Xd&open=AaDoJyhCs0MU5LNv22Xd&pullRequest=152
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=AaDoJyZqs0MU5LNv22WI&open=AaDoJyZqs0MU5LNv22WI&pullRequest=152
Check warning on line 275 in src/test/java/com/iemr/admin/utils/response/OutputResponseTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyhCs0MU5LNv22Xq&open=AaDoJyhCs0MU5LNv22Xq&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_FeedbacktypeInter" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJycYs0MU5LNv22W0&open=AaDoJycYs0MU5LNv22W0&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Rename this method to not match a restricted identifier.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyems0MU5LNv22XB&open=AaDoJyems0MU5LNv22XB&pullRequest=152
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJyh1s0MU5LNv22X0&open=AaDoJyh1s0MU5LNv22X0&pullRequest=152
Check warning on line 88 in src/test/java/com/iemr/admin/service/blocking/BlockingServiceTest.java
sonarqubecloud / SonarCloud Code Analysis
Rename this field "t_ProviderservicemappingdetailRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaDoJybBs0MU5LNv22Wk&open=AaDoJybBs0MU5LNv22Wk&pullRequest=152