Hello there,
I am working on integrating SonarQube for a multi language project that includes Java; JavaScript; and Python. I have managed to get SonarQube up and running; and it is scanning individual files quite well. Although; I am running into a few issues with getting accurate results for the entire project structure; especially when dealing with dependencies across these different languages.
Our codebase is organized by language, with each language in its own directory under a main repository. I am unsure how to configure SonarQube to recognize and analyze this setup properly. Should I be setting up individual SonarQube projects per language or configuring it all under one project?
I am seeing discrepancies in the code coverage reported by SonarQube for JavaScript files when compared to our existing test coverage tool. We use Jest for testing in JavaScript and pytest for Python; and I would like to know if there is an optimal setup that ensures consistent results across both.
I would love some advice on any best practices or specific configurations that other teams might have used for multi language projects in SonarQube. I want to ensure that all relevant metrics are captured accurately without excessive duplication or false positives.
Also, I have gone through this post; https://community.sonarsource.com/t/most-common-configuration-for-multiple-languages-uipath/ which definitely helped me out a lot.
Has anyone faced similar challenges; or could anyone offer tips on configuring SonarQube for a multi language environment like this?
Thank you in advance for your help and assistance.