Re: [pgAdmin][SonarQube] Cognitive complexity roles + test cases

Поиск
Список
Период
Сортировка
От Akshay Joshi
Тема Re: [pgAdmin][SonarQube] Cognitive complexity roles + test cases
Дата
Msg-id CANxoLDdc5Z0ZzszSUNZbNUE=K6FOKPXU8bugvpWc97wAZu7igQ@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin][SonarQube] Cognitive complexity roles + test cases  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Список pgadmin-hackers
Thanks, patch applied.

On Thu, Aug 27, 2020 at 12:49 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to reduce the cognitive complexity for validate_request function in roles module from 258 to 15. I've also added a few more test scenarios in the roles RE-SQL test cases to make sure the changes are tested.

Please review.

--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB Postgres
Mobile: +91 976-788-8246

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: Fixed an issue where the application ignores the fixe
Следующее
От: Akshay Joshi
Дата:
Сообщение: Re: [PATCH] Fix pgAdmin4 v4.25 ignoring user configuration. Fixes #5773