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-25 12:33:45 |
Message-ID: | CAOBg0APpTnZwvErnbcEpUDJ9n32wM9Z3TA9zo_bgG=Ei26LCuQ@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. Database:
- Refactor this function to reduce its Cognitive Complexity from 20 to
the 15 allowed.
2. Restore:
- Refactor this function to reduce its Cognitive Complexity from 60 to
the 15 allowed.
3. autocomplete:
- Refactor this function to reduce its Cognitive Complexity from 25 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 19 to
the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 28 to
the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 22 to
the 15 allowed.
- Refactor this function to reduce its Cognitive Complexity from 29 to
the 15 allowed.
Regards,
Nikhil Mohite.
Attachment | Content-Type | Size |
---|---|---|
SonarQubeCodeSmellFixes.patch | application/octet-stream | 31.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2020-08-25 12:43:18 | pgAdmin 4 commit: 1) Enable the 'Configure' and 'View log' menu option |
Previous Message | Akshay Joshi | 2020-08-25 12:22:48 | Re: [pgAdmin][RM4979]: Configuration files for data sources or similar. |