Multiple code variants analysis on SonarQube for C, C++ and Objective-C

Hi dear C and C++ folks!

We are very excited to bring you the ability to analyze multiple code variants of the same code within the same project. No need to use one project per variant or a family of branches per variant.
This iteration allows to analyze multiple variants from the same host, typically, debug build, release build, multiple backend libraries, and cross-compiling to various target platforms.

Concretely, in SonarQube’s UI, it looks like this:

For the future, we are considering another iteration allowing to analyze multiple variants from multiple hosts. This typically allows analyzing the same code from Linux, macOS, and Windows.

This will be available in SonarQube 10.1 soon.
Enjoy!

11 Likes