Patch for SonarQube code scan fixes.

Поиск
Список
Период
Сортировка
От Nikhil Mohite
Тема Patch for SonarQube code scan fixes.
Дата
Msg-id CAOBg0AP6zw+5M2Ux8u9igedVHKUOrPwEdH=+pwmCgfki=o=a=A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Patch for SonarQube code scan fixes.  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Re: Patch for SonarQube code scan fixes.  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
Hi Team,

I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:

1. psycopg2/connection:
  • Refactor this function to reduce its Cognitive Complexity from 32 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
2. psycopg2/server_manager:
  • Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 33 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 26 to the 15 allowed.
3. sqlautocomplete/parseutils:
  • Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed.


--
Thanks & Regards,
Nikhil Mohite
Software Engineer.
Mob.No: +91-7798364578.
Вложения

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: [pgAdmin][RM4979]: Configuration files for data sources or similar.
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: Re: Patch for SonarQube code scan fixes.