[pgAdmin][SonarQube] Critical issue fixes - servers

Поиск
Список
Период
Сортировка
От Rahul Shirsat
Тема [pgAdmin][SonarQube] Critical issue fixes - servers
Дата
Msg-id CAKtn9dNeoskXBtK3q3bQvM__GgLrcBJnADSaWi_fEr_+WTOCYw@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin][SonarQube] Critical issue fixes - servers  (Rahul Shirsat <rahul.shirsat@enterprisedb.com>)
Список pgadmin-hackers
Hi Hackers,

Please find the attached patch which includes sonarqube fixes :

1. Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed
    for check_ssl_fields in servers/__init__.py
2. Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed
    for update in servers/__init__.py

Note: Changes were tested in both Server mode & Desktop mode respectively.

--
Rahul Shirsat
Software Engineer | EnterpriseDB Corporation.
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Yogesh Mahajan
Дата:
Сообщение: Re: [pgAdmin4][RM#5662] [Accessibility] File manager dialog was not rendering properly due to fixed width and height set in the code
Следующее
От: Yogesh Mahajan
Дата:
Сообщение: [pgAdmin4][Patch] - SonarQube Issues - 10 (Variables should not be shadowed)