Re: Patch for SonarQube code scan fixes.

Поиск
Список
Период
Сортировка
От Akshay Joshi
Тема Re: Patch for SonarQube code scan fixes.
Дата
Msg-id CANxoLDey=1EHK_EsbhaYfPQoTcmxtjBbtL3q+jSjXaabKOLw5Q@mail.gmail.com
обсуждение исходный текст
Ответ на Patch for SonarQube code scan fixes.  (Nikhil Mohite <nikhil.mohite@enterprisedb.com>)
Список pgadmin-hackers
Thanks, patch applied.

On Tue, Jul 21, 2020 at 10:45 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Team,

I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:
1. Database utils:
  • Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
2. Schema views:
  • Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 72 to the 15 allowed.
3. Foreign key utils:
  • Refactor this function to reduce its Cognitive Complexity from 39 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
4. Rules init:
  • Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
5. Trigger init and utils:
  • Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 34 to the 15 allowed.

Regards,
Nikhil Mohite.



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

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: [pgAdmin][SonarQube] Reduce cognitive complexity of functions
Следующее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: Ensure that RLS Policy node should be searchable usin