Обсуждение: 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. Index Constraint:
  • Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 41 to the 15 allowed.
2. Foreign Tables:
  • Refactor this function to reduce its Cognitive Complexity from 45 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 32 to the 15 allowed.
3. Foreign Data Wrappers:
  1. Refactor this function to reduce its Cognitive Complexity from 47 to the 15 allowed.

Regards,
Nikhil Mohite.
Вложения

Re: Patch for SonarQube code scan fixes.

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

On Wed, Aug 5, 2020 at 6:03 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. Index Constraint:
  • Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 41 to the 15 allowed.
2. Foreign Tables:
  • Refactor this function to reduce its Cognitive Complexity from 45 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 32 to the 15 allowed.
3. Foreign Data Wrappers:
  1. Refactor this function to reduce its Cognitive Complexity from 47 to the 15 allowed.

Regards,
Nikhil Mohite.


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