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

From Akshay Joshi
Subject Re: Patch for SonarQube code scan fixes
Date
Msg-id CANxoLDdtwp=SA_jw_uSQdcu7mmMqSfWeqGwWuLA9cezjAdLBKw@mail.gmail.com
Whole thread Raw
In response to Patch for SonarQube code scan fixes  (Nikhil Mohite <nikhil.mohite@enterprisedb.com>)
Responses Re: Patch for SonarQube code scan fixes  (Nikhil Mohite <nikhil.mohite@enterprisedb.com>)
List pgadmin-hackers
Hi Nikhil

Fix the PEP8 issues.

On Tue, Jul 7, 2020 at 9:35 AM 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. 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.


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246

pgadmin-hackers by date:

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