Thread: 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. Table files(utils):
- Refactor this function to reduce its Cognitive Complexity from 34 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 38 to the 15 allowed.
There are few issues left from this file, I will send it in the next patch.
Regards,
Nikhil Mohite.
Attachment
Thanks, patch applied.
On Thu, Jul 9, 2020 at 4:11 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. Table files(utils):
- Refactor this function to reduce its Cognitive Complexity from 34 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 38 to the 15 allowed.
There are few issues left from this file, I will send it in the next patch.Regards,Nikhil Mohite.
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246