[pgAdmin][patch] Fixed issues reported by SonarQube - Mailing list pgadmin-hackers

From Akshay Joshi
Subject [pgAdmin][patch] Fixed issues reported by SonarQube
Date
Msg-id CANxoLDfQaBsQ2yc_6KckE6Y=TZBZ-L=1ZbdyJUTsrj_PnoHDRQ@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][patch] Fixed issues reported by SonarQube  (Dave Page <dpage@pgadmin.org>)
List 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

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][patch] Sonarqube issues tagged as redundant
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: More code cleanup for SonarQube.