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 CANxoLDd4NzmLFBEiMAYvQc5eXWR7xq0fp5Uwk_MXb0H1FcrX2A@mail.gmail.com
Whole thread Raw
List pgadmin-hackers
Thanks, patch applied.

On Mon, Jun 29, 2020 at 7:48 PM 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. Sequences files:
  • Refactor this function to reduce its Cognitive Complexity from 33 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 16 to the 15 allowed.
2. Functions files:
  • Refactor this function to reduce its Cognitive Complexity from 141 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 42 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 43 to the 15 allowed.



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

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: Re- [SonarQube][patch]- codesmell
Next
From: Pradip Parkale
Date:
Subject: Re: [pgAdmin][RM5601] : [Schema Diff] Add RLS policy support in schema diff