Improved C and C++ analysis cache and 2 new rules

Hello dear C and C++ users

We are pleased to bring yet another bunch of new features and improvements.

First, incremental analysis can now cope with changing code location. It can help with CIs that check out the code in a temporary folder with a variable name like Jenkins or custom CIs. This improvement is supported for both user persisted analysis cache (when using the sonar.cfamily.analysisCache.path property) and automatic analysis cache (enabled by default on all other projects in SonarQube 9.5 and beyond).
This feature will be available with SonarQube 9.6. It will be available in the upcoming days for manual cache and later on for automatic cache, with a dedicated announcement, on SonarCloud.

We also added two new rules:

Finally, we also fixed quite a few false-positives and false-negatives. We also brought several other improvements. The exhaustive list is available in the release notes.

These will be available with SonarQube 9.6 and, within a few days, on SonarCloud.


1 Like

A post was split to a new topic: Main branch analysis cache not used for PR