Re: [pgAdmin][SonarQube]: Cognitive complexity

From: Pradip Parkale <pradip(dot)parkale(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][SonarQube]: Cognitive complexity
Date: 2020-08-20 15:26:34
Message-ID: CAJ9T6SsvmSbe8i6tm+xHv1Xf+kRQ1Z5+Hy2fgLaN5JNaKGhn1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Please ignore the previous patch, find the updated patch in this mail.

On Thu, Aug 20, 2020 at 8:52 PM Pradip Parkale <
pradip(dot)parkale(at)enterprisedb(dot)com> wrote:

> Hi Hackers,
>
> The attached patch will reduce cognitive complexity for the following
> functions.
>
> 1. web/.../databases/schemas/domains/__init__.py - 16 to 15.
> 2. web/.../tables/row_security_policies/__init__.py - 17 to 15.
> 3. web/pgadmin/tools/debugger/__init__.py - 23 to 15
> 4. user_mapping/__init__.py. 35 to 15.
> 5. browser/__init__.py.
>
>
> --
> Thanks & Regards,
> Pradip Parkale
> Software Engineer | EnterpriseDB Corporation
>

--
Thanks & Regards,
Pradip Parkale
Software Engineer | EnterpriseDB Corporation

Attachment Content-Type Size
cognitive_comp_sonarQube application/octet-stream 16.1 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-08-20 15:54:31 Re: [pgAdmin][RM5990]: Update the style guide on pgAdmin4 website
Previous Message Pradip Parkale 2020-08-20 15:22:40 [pgAdmin][SonarQube]: Cognitive complexity