From: | Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Patch for SonarQube code scan fixes. |
Date: | 2020-08-05 11:19:10 |
Message-ID: | CAOBg0AMUFfEj4=J2R0On7pnVyZZaz3XokRXMyQjwptOPnbqivg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
SonarQubeCodeSmellFixes.patch | application/octet-stream | 25.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Murtuza Zabuawala | 2020-08-05 11:53:00 | Re: pgAdmin 4 commit: Ensure that the original file format should be retain |
Previous Message | Pramod Ahire | 2020-08-05 11:15:45 | Re: Code coverage report generation for JS files |