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-25 12:46:40
Message-ID: CANxoLDf_4MhuJDNJz5ntGS2N_h009jOnvwbhKwoMEsUkXXqgyA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

On Tue, Aug 25, 2020 at 6:04 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. Database:
>
> - Refactor this function to reduce its Cognitive Complexity from 20 to
> the 15 allowed.
>
> 2. Restore:
>
> - Refactor this function to reduce its Cognitive Complexity from 60 to
> the 15 allowed.
>
> 3. autocomplete:
>
> - Refactor this function to reduce its Cognitive Complexity from 25 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 19 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 28 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 22 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 29 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 Akshay Joshi 2020-08-25 12:47:01 Re: [pgAdmin][SonarQube] Cognitive complexity
Previous Message Akshay Joshi 2020-08-25 12:43:18 pgAdmin 4 commit: Fixed regression issue in taking backup of the table.