Please find the attached patch to fix the SonarQube Code smells having Rule "Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed".
Please find the attached patch to fix the SonarQube Code smells having Rule "Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed".