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

From Nikhil Mohite
Subject Patch for SonarQube code scan fixes
Date
Msg-id CAOBg0AOy=Y0d2danfBy0RyvDgDr9d99_8APskw9zeY=qAX230Q@mail.gmail.com
Whole thread Raw
Responses Re: Patch for SonarQube code scan fixes  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi Team,

I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:
1. Table files(utils):
  • Refactor this function to reduce its Cognitive Complexity from 34 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 38 to the 15 allowed.
There are few issues left from this file, I will send it in the next patch.

Regards,
Nikhil Mohite.

Attachment

pgadmin-hackers by date:

Previous
From: Yogesh Mahajan
Date:
Subject: Re: [pgAdmin][Patch] RM 5463 - CSV download quotes numeric columns
Next
From: Yogesh Mahajan
Date:
Subject: Re: [pgAdmin4][RM#5662] [Accessibility] File manager dialog was not rendering properly due to fixed width and height set in the code