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

From Nikhil Mohite
Subject Patch for SonarQube code scan fixes.
Date
Msg-id CAOBg0AM_j_UEEHKoB3spfMu_4TZqTB-FxVLqhsvU=sfzoOoZ-Q@mail.gmail.com
Whole thread Raw
Responses Re: Patch for SonarQube code scan fixes.
List pgadmin-hackers
Hi Team,

I have fixed some code smell issues in the SonarQube scan, PFA patch.
Details as follows:
1. Schema Domains and Domain Constraints:
  • Refactor this function to reduce its Cognitive Complexity from 34 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
2. Tables Columns:
  • Refactor this function to reduce its Cognitive Complexity from 45 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 51 to the 15 allowed.
3. Exclusion Constraint:
  • Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed.
  • Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
4. Schema Types:
  • Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

Regards,
Nikhil Mohite.
Attachment

pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: [pgAdmin4 ] Limit the scope of CSS
Next
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][SonarQube] Replace the generic exception class with a more specific one