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

From Nikhil Mohite
Subject Patch for SonarQube code scan fixes
Date
Msg-id CAOBg0AOPXwxLp1LMtuEPW3aZ_idCb-2CTt74C8Bey2DSC4TRYw@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 Index files(utils and init):
  • Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

Regards,
Nikhil Mohite.
Attachment

pgadmin-hackers by date:

Previous
From: Pradip Parkale
Date:
Subject: [pgAdmin][RM5622]: Permissive or restricted policy on table from PG 10 and above
Next
From: Satish V
Date:
Subject: Re- Patch for SonarQube issues