You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sonar Warning: Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed. Explanation: There is lots of deep nesting of if and if else statements in the code, which makes it a complexity of 18. Therefore, it is important to refactor the code to accommodate it. Method: Reduce the complexity by reducing nested conditionals
The text was updated successfully, but these errors were encountered:
Description: Refactoring code in src/flags.js.
File name: src/flags.js.
Sonar Warning: Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
Explanation: There is lots of deep nesting of if and if else statements in the code, which makes it a complexity of 18. Therefore, it is important to refactor the code to accommodate it.
Method: Reduce the complexity by reducing nested conditionals
The text was updated successfully, but these errors were encountered: