SonarQube Fixes #5 Roles & Functions

From: Rahul Shirsat <rahul(dot)shirsat(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: SonarQube Fixes #5 Roles & Functions
Date: 2021-03-17 11:19:57
Message-ID: CAKtn9dPrZcZ=z32FSVKiR1SDdL60WX+rVZG7ccoM6KptLPKNmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Please find the patch which resolves below sonar qube issues:

For Roles:
Refactor this function to reduce its Cognitive Complexity from 21 to the 15
allowed
Refactor this function to reduce its Cognitive Complexity from 16 to the 15
allowed

For Functions:
Refactor this function to reduce its Cognitive Complexity from 17 to the 15
allowed

--
*Rahul Shirsat*
Senior Software Engineer | EnterpriseDB Corporation.

Attachment Content-Type Size
sonar_roles_functions.patch application/octet-stream 12.1 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2021-03-17 13:18:51 pgAdmin 4 commit: Fixed an issue where the top menu disappears when ent
Previous Message Khushboo Vashi 2021-03-17 09:06:05 [pgAdmin4][Patch]: RM 6317 - Toggle buttons are inaccessible