Patch for SonarQube code scan fixes. - Mailing list pgadmin-hackers

From Nikhil Mohite
Subject Patch for SonarQube code scan fixes.
Date
Msg-id CAOBg0AMUFfEj4=J2R0On7pnVyZZaz3XokRXMyQjwptOPnbqivg@mail.gmail.com
Whole thread Raw
Responses Re: Patch for SonarQube code scan fixes.  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
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.
Attachment

pgadmin-hackers by date:

Previous
From: Pramod Ahire
Date:
Subject: Re: Code coverage report generation for JS files
Next
From: Murtuza Zabuawala
Date:
Subject: Re: pgAdmin 4 commit: Ensure that the original file format should be retain