Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
Patch for SonarQube fixes. - Mailing list pgadmin-hackers
From
Nikhil Mohite
Subject
Patch for SonarQube fixes.
Date
January 18, 2021
05:45:39
Msg-id
CAOBg0AO3tVZMT68DyMLyc6w+za9sHA+NHEs_rosfVGNP=kgxeQ@mail.gmail.com
Whole thread
Raw
Responses
Re: Patch for SonarQube fixes.
List
pgadmin-hackers
Tree view
Hi Team,
I have fixed a few sonarQube issues, PFA patch
Details as follows:
1. Preferences:
Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
Merge this if statement with the enclosing one.
Define a constant instead of duplicating this literal 'tab settings' 5 times.
2. Connection:
Remove this unneeded "pass".
3. Sqleditor:
Remove this useless assignment to variable "msgDiv".
4. Debugger:
Review this useless assignment: "index" already holds the assigned value along all execution paths.
'label' is already declared in the upper scope.
'label' is already declared in the upper scope.
'browser_preferences' is already declared in the upper scope.
5. FileManager:
'path' is already declared in the upper scope.
--
Thanks & Regards,
Nikhil Mohite
Software Engineer.
EDB Postgres
Mob.No: +91-7798364578.
Attachment
SonarQubeCodeSmellFixes.patch
pgadmin-hackers
by date:
Previous
From:
Aditya Toshniwal
Date:
18 January 2021, 05:03:32
Subject:
Re: [pgAdmin][RM1802] ERD Tool (Beta)
Next
From:
Khushboo Vashi
Date:
18 January 2021, 07:30:37
Subject:
Re: [pgAdmin4][Patch] - RM 5457 - Kerberos Authentication - Phase 1
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies