Sonar C++ Community Plugin

C++ Plugin for Sonar (Community Edition)

License

License

GroupId

GroupId

org.codehaus.sonar-plugins
ArtifactId

ArtifactId

sonar-cxx-plugin
Last Version

Last Version

0.2
Release Date

Release Date

Type

Type

sonar-plugin
Description

Description

Sonar C++ Community Plugin
C++ Plugin for Sonar (Community Edition)
Source Code Management

Source Code Management

https://github.com/SonarCommunity/sonar-cxx

Download sonar-cxx-plugin

Dependencies

compile (3)

Group / Artifact Type Version
pmd : pmd jar 4.2.5
jdom : jdom jar 1.0
org.codehaus.sonar.common-rules : sonar-common-rules jar 1.0.1

provided (5)

Group / Artifact Type Version
org.codehaus.sonar : sonar-plugin-api jar 3.3
org.apache.maven : maven-project jar 2.0.9
org.eclipse.cdt » core jar 5.3.2
org.eclipse.core : resources jar 3.1.0
org.eclipse.core : runtime jar 3.1.0

test (3)

Group / Artifact Type Version
org.codehaus.sonar : sonar-testing-harness jar 3.3
org.codehaus.sonar : sonar-ws-client jar 3.3
commons-httpclient : commons-httpclient jar 3.1

Project Modules

There are no modules declared in this project.
SonarCloud
(Technical Debt analysis)
Quality Gate Coverage
DeepCode
(real-time AI powered semantic code analysis)
deepcode
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
  • extensions 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

Quickstart

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

Resources

Alternatives:

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

Choose whatever fits your needs.

Subscribe

Subscribe our release feed

Versions

Version
0.2
0.1