I have read about the new capabilities of the C++ analyzer here: C++ analyzer helps developers to write C++17 compliant code
I would now like to test it. But it looks like I do not know how to do it. I understand that the analyzer is available in SonarCloud, and that I can use SonarCloud to analyze an open-source GitHub-hosted roject.
I have set up my account in SonarCloud: https://sonarcloud.io/organizations/akrzemi1/projects?sort=-name
I have linked two repositories:
The former is a real library that my users use. It is header only, and SonarCloud reports it has no lines of code.
The later, I created on the fly using the source code from SonarSource blog article, just to check if any C++ error would be detected. But apparently, I need to do some more setup, as I get message “100% of your code is in languages unsupported by Automatic Analysis”.
So, I need some help fro the community:
- Is C++ Static analysis from SonarSource available for free for open-source GitHub projects?
- If so, are there some instructions out there that would help me enable my project for C++ static analysis?