Patch for SonarQube code scan fixes.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Patch for SonarQube code scan fixes.

nikhil.mohite
Hi Team,

I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:

1. Utils Route:
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
2. User Management:
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
3. Query tool preferences:
  • Merge these implicitly concatenated strings; or did you forget a comma?
4. Tool Maintenance:
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

Regards,
Nikhil Mohite.

SonarQubeCodeSmellFixes.patch (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Patch for SonarQube code scan fixes.

Akshay Joshi
Thanks, patch applied.

On Fri, Jul 31, 2020 at 6:35 PM Nikhil Mohite <[hidden email]> wrote:
Hi Team,

I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:

1. Utils Route:
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
2. User Management:
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
3. Query tool preferences:
  • Merge these implicitly concatenated strings; or did you forget a comma?
4. Tool Maintenance:
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

Regards,
Nikhil Mohite.


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB Postgres
Mobile: +91 976-788-8246