Thread: Patch for SonarQube code scan fixes
Hi Team,
I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:
1. Schema dif dependency:
- 'isChecked' is already declared in the upper scope.
2. User management:
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
3. Debugger:
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 45 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 50 to the 15 allowed.
Attachment
Thanks, patch applied.
On Tue, Nov 10, 2020 at 3:44 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Team,I have fixed some code smell issues in the SonarQube scan, PFA patch.Details as follows:1. Schema dif dependency:
- 'isChecked' is already declared in the upper scope.
2. User management:
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
3. Debugger:
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 45 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 50 to the 15 allowed.
--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB PostgresMobile: +91 976-788-8246