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-05 07:32:05
Message-ID: CANxoLDc=0ybeX+=9H5M_U9oCjPKOkL0NaUhej+GjTr-0+XOr5A@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 12:41 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. Schema Domains and Domain Constraints:
>
> - Refactor this function to reduce its Cognitive Complexity from 34 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 27 to
> the 15 allowed.
>
> 2. Tables Columns:
>
> - Refactor this function to reduce its Cognitive Complexity from 45 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 51 to
> the 15 allowed.
>
> 3. Exclusion Constraint:
>
> - Refactor this function to reduce its Cognitive Complexity from 23 to
> the 15 allowed.
> - Refactor this function to reduce its Cognitive Complexity from 18 to
> the 15 allowed.
>
> 4. Schema Types:
>
> - Refactor this function to reduce its Cognitive Complexity from 17 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 Yogesh Mahajan 2020-08-05 08:09:03 Bug #4387 - User can not insert any value on view data if table and column name contains *SELECT '<<SCRIPT>alert("XSS ");//<</SCRIPT>';*
Previous Message Akshay Joshi 2020-08-05 07:31:07 pgAdmin 4 commit: Fixed cognitive complexity issues reported by SonarQu