Re: [pgAdmin][SonarQube] Cognitive complexity roles + test cases

2020-08-27 Thread Akshay Joshi
Thanks, patch applied. On Thu, Aug 27, 2020 at 12:49 PM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi Hackers, > > Attached is the patch to reduce the cognitive complexity for > validate_request function in roles module from 258 to 15. I've also added a > few more test scenari

[pgAdmin][SonarQube] Cognitive complexity roles + test cases

2020-08-27 Thread Aditya Toshniwal
Hi Hackers, Attached is the patch to reduce the cognitive complexity for validate_request function in roles module from 258 to 15. I've also added a few more test scenarios in the roles RE-SQL test cases to make sure the changes are tested. Please review. -- Thanks, Aditya Toshniwal pgAdmin hac