After upgrading to the latest SonarQube LTS, sonar is doing a better job finding commented out code! A little too much better in fact! Our code formatter adds comment tags after #endif
for each preprocessor if/endif pair. Is there any way to (for example) exclude lines containing #endif
from analysis? Thanks!
#if SOMETHING
...
#endif /* if (SOMETHING) */
- SonarQube Developer Edition Version 8.9.2 (build 46101)
- SonarScanner 4.6.2.2472
- Sonar Build Wrapper 6.2