Skip to content
This repository contains a SonarQube plugin implementing C++ support.
Branch: master
Clone or download
guwirth Merge pull request #1668 from rudolfgrauberger/vc-log-improvements
Improves Visual studio/MSBUILD log file analysis
Latest commit a3e16ef Mar 9, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
cxx-checks start v1.3.0 Feb 13, 2019
cxx-lint start v1.3.0 Feb 13, 2019
cxx-sensors start v1.3.0 Feb 13, 2019
cxx-squid Cleaned up Mar 8, 2019
integration-tests fix bug of missing @SqApi76 in integration tests Feb 16, 2019
sonar-c-plugin start v1.3.0 Feb 13, 2019
sonar-cxx-plugin start v1.3.0 Feb 13, 2019
.gitignore fix sslr jar package Nov 18, 2017
.travis.yml Create Sep 5, 2017 Add an issue template Jan 25, 2018
LICENSE add license Jun 19, 2017
appveyor.yml mvn versions:set Feb 16, 2019
pom.xml start v1.3.0 Feb 13, 2019

(Technical Debt analysis)
Quality Gate Coverage
Travis CI
(Linux Build and Integration Tests)
Build Status
AppVeyor CI
(Windows Build and Deployment)
Build status Download latest snapshot

SonarQube C++ plugin (Community)

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:

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:

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


  1. Setup a SonarQube instance
  2. Install the plugin (see Installation)
  3. Run an analysis (see Running the analysis)



That's not the only choice when you are looking for C++ support in SonarQube there is also

Choose whatever fits your needs.


Subscribe our release feed

You can’t perform that action at this time.