From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [pgAdmin4][Patch] - SonarQube Fixes |
Date: | 2020-09-03 13:26:32 |
Message-ID: | CANxoLDe35scKMyGDYmF5ik3qFZZp-u_f6MyQ7AqFnZLvfqBrQQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Thanks, patch applied.
On Thu, Sep 3, 2020 at 4:39 PM Khushboo Vashi <
khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
> Hi,
>
> Please find more fixes for the sonarqube code smells having the rule "String
> literals should not be duplicated".
>
> Thanks,
> Khushboo
>
> On Wed, Aug 19, 2020 at 2:27 PM Akshay Joshi <
> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>
>> Thanks, patch applied.
>>
>> On Wed, Aug 19, 2020 at 2:01 PM Khushboo Vashi <
>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>
>>> Hi,
>>>
>>> Please find the attached updated patch.
>>>
>>>
>>> On Tue, Aug 4, 2020 at 12:10 PM Akshay Joshi <
>>> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>>>
>>>> Hi Khushboo
>>>>
>>>> As per offline discussion, multiple developers declaring the constant
>>>> for the same string and error messages. To avoid that only one developer
>>>> should work on this task.
>>>> Suggestions:
>>>>
>>>> - We should have a common class for Constants (which are not module
>>>> specific).
>>>>
>>>> Made a constant.py file which contains the common Constants.
>>>
>>>>
>>>> - For module specific constants we should not declare them as
>>>> Global variables if possible declare them as the Class variable.
>>>>
>>>>
>>>> - For common error messages(if any) we can define functions in
>>>> PGChildNodeView.
>>>>
>>>> Already implemented.
>>>
>>>> Please incorporate the changes send by Yogesh.
>>>>
>>> I will send another patch for Yogesh's changes as needed more changes.
>>>
>>> Thanks,
>>> Khushboo
>>>
>>>>
>>>> On Mon, Aug 3, 2020 at 1:36 PM Khushboo Vashi <
>>>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Please find the attached patch to fix the sonarqube code smells having
>>>>> the rule "String literals should not be duplicated".
>>>>>
>>>>> Thanks,
>>>>> Khushboo
>>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks & Regards*
>>>> *Akshay Joshi*
>>>> *pgAdmin Hacker | Sr. Software Architect*
>>>> *EDB Postgres <http://edbpostgres.com>*
>>>>
>>>> *Mobile: +91 976-788-8246*
>>>>
>>>
>>
>> --
>> *Thanks & Regards*
>> *Akshay Joshi*
>> *pgAdmin Hacker | Sr. Software Architect*
>> *EDB Postgres <http://edbpostgres.com>*
>>
>> *Mobile: +91 976-788-8246*
>>
>
--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Sr. Software Architect*
*EDB Postgres <http://edbpostgres.com>*
*Mobile: +91 976-788-8246*
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2020-09-03 13:26:51 | Re: [pgAdmin][SonarQube] Reduce cognitive complexity |
Previous Message | Akshay Joshi | 2020-09-03 13:25:31 | pgAdmin 4 commit: Fixed code smell 'String literals should not be dupli |