Re: Patch for SonarQube code scan fixes.

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Patch for SonarQube code scan fixes.
Date: 2020-08-06 07:13:23
Message-ID: CANxoLDcsV5DhcCExaH8=tyMceURPhrn+PiMbdVJXNFc0QJg37A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

On Wed, Aug 5, 2020 at 6:03 PM Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com>
wrote:

> Hi Team,
>
> I have fixed some code smell issues in the SonarQube scan, PFA patch.
> Details as follows:
> 1. Index Constraint:
>
> - Refactor this function to reduce its Cognitive Complexity from 31 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 41 to
> the 15 allowed.
>
> 2. Foreign Tables:
>
> - Refactor this function to reduce its Cognitive Complexity from 45 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 17 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 32 to
> the 15 allowed.
>
> 3. Foreign Data Wrappers:
>
> 1. Refactor this function to reduce its Cognitive Complexity from 47
> to the 15 allowed.
>
>
> Regards,
> Nikhil Mohite.
>

--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Sr. Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2020-08-06 09:01:48 [pgAdmin][RM5716] AJAX to generate the charts continues to fire after we disconnect the server
Previous Message Akshay Joshi 2020-08-06 07:13:15 Re: [pgAdmin4][Patch] - SonarQube Issues - 13 (String literals should not be duplicated)