Patch for SonarQube code scan fixes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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. Sequences files:
  • Refactor this function to reduce its Cognitive Complexity from 33 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 16 to the 15 allowed.
2. Functions files:
  • Refactor this function to reduce its Cognitive Complexity from 141 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 42 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 43 to the 15 allowed.


sonarQubeCodeSmellFixes.patch (76K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Patch for SonarQube code scan fixes

Akshay Joshi
Thanks, patch applied.

On Mon, Jun 29, 2020 at 7:48 PM Nikhil Mohite <[hidden email]> wrote:
Hi Team,

I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:
1. Sequences files:
  • Refactor this function to reduce its Cognitive Complexity from 33 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 16 to the 15 allowed.
2. Functions files:
  • Refactor this function to reduce its Cognitive Complexity from 141 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 42 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 43 to the 15 allowed.



--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246