Issue Stats | ||
SonarCloud (Technical Debt analysis) |
||
Travis CI (Linux Build and Integration Tests) |
||
AppVeyor CI (Windows Build and Deployment) |
Download |
SonarQube is an open platform to manage code quality. This plugin adds C++ support to SonarQube with the focus on integration of existing C++ tools.
This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
- parser supporting C89, C99, C11, C++03, C++11, C++14 and C++17 standards
- Microsoft extensions: C++/CLI, Attributed ATL
- GNU extensions
- CUDA extensions
- Microsoft Windows and Linux for runtime environment
Sensors for static and dynamic code analysis:
- Cppcheck warnings support (http://cppcheck.sourceforge.net/)
- GCC/G++ warnings support (https://gcc.gnu.org/)
- Visual Studio warnings support (https://www.visualstudio.com/)
- Visual Studio Core Guideline Checker warnings support
- Clang Static Analyzer support (https://clang-analyzer.llvm.org/)
- Clang Tidy warnings support (http://clang.llvm.org/extra/clang-tidy/)
- PC-Lint warnings support (http://www.gimpel.com/)
- RATS (https://github.com/andrew-d/rough-auditing-tool-for-security)
- Valgrind (http://valgrind.org/)
- Vera++ (https://bitbucket.org/verateam/vera/wiki/Home)
- Dr. Memory warnings support (http://drmemory.org/)
Test framework sensors for:
- XUnit file format
- Google Test file format
- Boost.Test file format
- CppUnit file format
- VSTest file format
- NUnit file format
- extentions over XSLT possible
Coverage sensors for:
- Visual Studio coverage reports
- Gcov / gcovr coverage reports
- Bullseye coverage reports (http://www.bullseye.com/)
- Cobertura coverage reports (http://cobertura.github.io/cobertura/)
Simple to customize
- provide the ability to write custom rules
- custom rules by XPath checks possible
- custom rules by regular expression checks possible
- easy 3rd party tool integration with XML rule definitions and reports possible
- Setup a SonarQube instance
- Install the plugin (see Installation)
- Run an analysis (see Running the analysis)
- Latest release
- Documentation
- Issue Tracker
- Continuous Integration Unix
- Continuous Integration Windows
- Sample project
That's not the only choice when you are looking for C++ support in SonarQube there is also
- the commercial C/C++ plugin from SonarSource.
- the commercial C/C++ plugin from CppDepend
- the Coverity plugin
- the commercial PVS-Studio plugin
Choose whatever fits your needs.
Subscribe our release feed