Обсуждение: Patch for SonarQube code scan fixes.
Hi Team,
I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:
1. Schema dif directory compare:
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
2. Import-export:
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
3. Preferences:
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
4. Schema Types:
- Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
Regards,
Nikhil Mohite.
Вложения
Thanks, patch applied.
On Mon, Aug 10, 2020 at 3:39 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 directory compare:
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
2. Import-export:
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
3. Preferences:
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
4. Schema Types:
- Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
Regards,Nikhil Mohite.
--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB PostgresMobile: +91 976-788-8246