Patch for SonarQube code scan fixes - Mailing list pgadmin-hackers

From Nikhil Mohite
Subject Patch for SonarQube code scan fixes
Date
Msg-id CAOBg0AMfrrmXuSx6ZrPPMWgq2GHNNEc-LvekTutKt25fKHj-FQ@mail.gmail.com
Whole thread Raw
Responses Re: Patch for SonarQube code scan fixes
List pgadmin-hackers
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,
Nikhil Mohite
Software Engineer.
Mob.No: +91-7798364578.
Attachment

pgadmin-hackers by date:

Previous
From: Rahul Shirsat
Date:
Subject: Re: SonarQube Fixes #3
Next
From: Murtuza Zabuawala
Date:
Subject: [pgAdmin4] Enhance the Schema diff GUI validation