Обсуждение: Patch for SonarQube code scan fixes

Поиск
Список
Период
Сортировка

Patch for SonarQube code scan fixes

От
Nikhil Mohite
Дата:
Hi Team,

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

1. Schema dif dependency:
  • 'isChecked' is already declared in the upper scope.
2. User management:
  • Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
3. Debugger:
  • Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 45 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 50 to the 15 allowed.





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

Re: Patch for SonarQube code scan fixes

От
Akshay Joshi
Дата:
Thanks, patch applied.

On Tue, Nov 10, 2020 at 3:44 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. Schema dif dependency:
  • 'isChecked' is already declared in the upper scope.
2. User management:
  • Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
3. Debugger:
  • Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 45 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 50 to the 15 allowed.





--
Thanks & Regards,
Nikhil Mohite
Software Engineer.
Mob.No: +91-7798364578.


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