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 Index files(utils and init):
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 18 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 22 to the 15 allowed.
Regards,
Nikhil Mohite.
Attachment
Hi Nikhil
Fix the PEP8 issues.
On Tue, Jul 7, 2020 at 9:35 AM 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 Index files(utils and init):
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 18 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 22 to the 15 allowed.
Regards,Nikhil Mohite.
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246
Hi Akshay,
I have resolved the PEP8 issues, PFA updated patch.
Regards,
Nikhil Mohite.
On Tue, Jul 7, 2020 at 10:19 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi NikhilFix the PEP8 issues.On Tue, Jul 7, 2020 at 9:35 AM 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 Index files(utils and init):
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 18 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 22 to the 15 allowed.
Regards,Nikhil Mohite.--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246
Attachment
Thanks, patch applied.
On Tue, Jul 7, 2020 at 10:27 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Akshay,I have resolved the PEP8 issues, PFA updated patch.Regards,Nikhil Mohite.On Tue, Jul 7, 2020 at 10:19 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Hi NikhilFix the PEP8 issues.On Tue, Jul 7, 2020 at 9:35 AM 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 Index files(utils and init):
- Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 18 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 22 to the 15 allowed.
Regards,Nikhil Mohite.--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246