[pgAdmin][patch] Fixed issues reported by SonarQube

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][patch] Fixed issues reported by SonarQube
Date: 2020-06-18 13:16:44
Message-ID: CANxoLDfQaBsQ2yc_6KckE6Y=TZBZ-L=1ZbdyJUTsrj_PnoHDRQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers

Attached is the patch to fix almost 24 bugs of the following type:

- TypeError can be thrown as <variable_name> might be null or undefined
here.
- TypeError can be thrown as this operand might have a primitive type.
- The conditional operation returns the same value whether the condition
is "true" or "false".

Please review it.

--
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*

Attachment Content-Type Size
SonarQube_Fixes.patch application/octet-stream 15.0 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-06-18 15:20:36 pgAdmin 4 commit: More code cleanup for SonarQube.
Previous Message Akshay Joshi 2020-06-18 10:50:05 Re: [pgAdmin][patch] Sonarqube issues tagged as redundant