| 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-06-29 14:18:22 |
| Message-ID: | CAOBg0AOu=RQ=f0nOEmQ=2mNmsPkv0=WVB=RAyUfG=XN0nX-ayw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | 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. 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.
| Attachment | Content-Type | Size |
|---|---|---|
| sonarQubeCodeSmellFixes.patch | application/octet-stream | 55.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Satish V | 2020-06-30 05:42:05 | Re- [SonarQube][patch]- codesmell |
| Previous Message | Nikhil Mohite | 2020-06-29 13:32:22 | Re: Support schema level restrictions and edit connection properties when already connected. |