pgAdmin 4 commit: Fixed following SonarQube issues:

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Fixed following SonarQube issues:
Date: 2020-08-19 08:13:21
Message-ID: E1k8JDl-0007Gz-Hf@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fixed following SonarQube issues:
1. String literals should not be duplicated.
2. Cognitive Complexity of functions should not be too high.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=0668a52c6bbc919c33575ebeb3e47dd71ffcb6e6
Author: Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>

Modified Files
--------------
.../pg_utilities_backup_restore_test.py | 129 ++++----
web/regression/feature_utils/pgadmin_page.py | 324 ++++++++++++---------
web/regression/runtests.py | 118 +++++---
3 files changed, 330 insertions(+), 241 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-08-19 08:14:06 Re: Patch for SonarQube code scan fixes.
Previous Message Nikhil Mohite 2020-08-19 07:46:32 [pgAdmin][RM5344][Code Coverage] Improve API test cases for Grant Wizard