Troubleshooting of Sonar issue: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 19: Line 19:
         }
         }
</pre>
</pre>
== How to resolve "replace all tab characters in this file by sequences of white-spaces (Tabulation characters should not be used)" ==
Solution: Using the editor which supports [[Regular expression | regular expression]]<ref>[https://community.sonarsource.com/t/replace-all-tab-characters-in-this-file-by-sequences-of-white-spaces-error-in-sonarcloud-t-sql/40078 Replace all tab characters in this file by sequences of white-spaces - Error in SonarCloud T-SQL - SonarCloud - Sonar Community]</ref>
* Replace {{kbd | key=<nowiki>\t</nowiki>}}
* with {{kbd | key=<nowiki>    </nowiki>}} (four whitespaces)


== How to resolve "Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed." ==
== How to resolve "Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed." ==
Anonymous user

Navigation menu