| 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-10 05:08:36 |
| Message-ID: | CAOBg0APMH+HqwL6O99jPsJOH3BSKqCu9wZobej_hGUGB=GshEA@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. Schema dif directory compare:
- Refactor this function to reduce its Cognitive Complexity from 27 to
the 15 allowed.
2. Import-export:
- Refactor this function to reduce its Cognitive Complexity from 30 to
the 15 allowed.
3. Preferences:
- Refactor this function to reduce its Cognitive Complexity from 30 to
the 15 allowed.
4. Schema Types:
- Refactor this function to reduce its Cognitive Complexity from 24 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 24 to
the 15 allowed.
Regards,
Nikhil Mohite.
| Attachment | Content-Type | Size |
|---|---|---|
| SonarQubeCodeSmellFixes.patch | application/octet-stream | 17.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Akshay Joshi | 2020-08-10 05:41:53 | Re: WIP: SQL Formatter |
| Previous Message | Cyril Jouve | 2020-08-09 22:55:03 | Use python3 ipaddress module to validate ipaddress |