fix update user issue and role issue - #143
Quality Gate failed
Failed conditions
14.8% Duplication on New Code (required ≤ 3%)
Annotations
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=AZ_QrGOSQ66-XNe8e4OV&open=AZ_QrGOSQ66-XNe8e4OV&pullRequest=143
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=AZ_QrGNpQ66-XNe8e4OT&open=AZ_QrGNpQ66-XNe8e4OT&pullRequest=143
sonarqubecloud / SonarCloud Code Analysis
Remove this unused method parameter "authorization".
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ_QrGOSQ66-XNe8e4Od&open=AZ_QrGOSQ66-XNe8e4Od&pullRequest=143
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ_QrGOSQ66-XNe8e4OU&open=AZ_QrGOSQ66-XNe8e4OU&pullRequest=143
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Middle name is invalid." 4 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ_QrGOSQ66-XNe8e4OX&open=AZ_QrGOSQ66-XNe8e4OX&pullRequest=143
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=AZ_QrGOSQ66-XNe8e4OY&open=AZ_QrGOSQ66-XNe8e4OY&pullRequest=143
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=AZ_QrGNpQ66-XNe8e4OS&open=AZ_QrGNpQ66-XNe8e4OS&pullRequest=143
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=AZ_QrGOSQ66-XNe8e4Oa&open=AZ_QrGOSQ66-XNe8e4Oa&pullRequest=143
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Last name is invalid." 4 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ_QrGOSQ66-XNe8e4OW&open=AZ_QrGOSQ66-XNe8e4OW&pullRequest=143
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "aadhaarnotexist" 3 times.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ_QrGOSQ66-XNe8e4OZ&open=AZ_QrGOSQ66-XNe8e4OZ&pullRequest=143
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 175 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AZ_QrGOSQ66-XNe8e4Oc&open=AZ_QrGOSQ66-XNe8e4Oc&pullRequest=143
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=AZ_QrGOSQ66-XNe8e4Ob&open=AZ_QrGOSQ66-XNe8e4Ob&pullRequest=143