what’s new
Discover the latest features released in SonarCloud
February 22, 2023
Automatic analysis is now available for .NET projects on GitHub
Today, we released automatic analysis for .NET projects using GitHub. With just a couple clicks, you’ll get immediate, actionable feedback to ensure you’re following Sonar Clean Code best practices. This feature is perfect if you’re just getting started with Sonar or for a quick analysis on a new project to see where things stand. For the most complete experience we still recommend integrating Sonar with your CI-based workflow. We provide guidance on how to switch directly in the user interface.
See all the details in the Community post.
February 10, 2023
Faster C++ Pull/Merge Request and Branch analysis
Devs can now enjoy faster CFamily PR and Branch analysis on SonarCloud following the deployment of the server-side cache mechanism announced a couple of days ago.
Now, by default, there is a cache on the server side that helps to speed up all your analysis. For it to work, you need to have configured your branch (Branch Analysis Setup | SonarCloud Docs) and your pull request analysis ( Pull Request Analysis | SonarCloud Docs) on SonarCloud.
See all the details in the Community post.
February 07, 2023
Scan your Dockerfiles with SonarCloud
We are excited to announce that you can now scan your Dockerfiles with SonarCloud!
See all the details in the Community post.
February 03, 2023
Clean your Code quicker with faster pull request analysis
Today we've enabled faster pull (merge) request analysis for all languages*.
Before, when a branch or a pull request was scanned, the analysis included all the files in your repository to ensure accuracy and only raise true positives. Now, on pull requests, only the content in the PR is scanned using an analysis methodology that minimizes the false positive rate.
On average, you can expect your pull request analysis to finish at least 50% faster however, it can be more depending on the size and language(s) in your pull requests.
See all the details on the Community post.
* this will come soon for C++ and .NET.
February 01, 2023
Improved rules format helps you eliminate issues faster with in-depth, contextualized guidance
We are happy to announce the rollout of our new rules format which helps you quickly and efficiently fix vulnerabilities in your code. This new format focuses on giving you the what, why and how (to fix) info around the issue so you can fix it and learn some new tricks for your developer toolkit!
- Get step-by-step instructions with just the information you need right now, in context, to solve the issue fast
- Dig into in-depth, educational and contextualized guidance to avoid similar issues in future
- Learn about and understand new vulnerability types
…all in the same tool and workflow you are already using every day.
We have started with the top 15 security vulnerabilities - more to come soon! Learn more
January 09, 2023
C++20’s `std::format`
Make the most of the C++20's `std::format` feature! Use SonarCloud's static analysis which now includes 13 coding rules dedicated to this feature. Learn more