Cxx :: Sonar Plugin

Enable analysis and reporting on c++ projects.

License

License

GroupId

GroupId

org.codehaus.sonar-plugins.cxx
ArtifactId

ArtifactId

sonar-cxx-plugin
Last Version

Last Version

0.9
Release Date

Release Date

Type

Type

sonar-plugin
Description

Description

Cxx :: Sonar Plugin
Enable analysis and reporting on c++ projects.
Project Organization

Project Organization

Waleri Enns

Download sonar-cxx-plugin

Dependencies

compile (5)

Group / Artifact Type Version
org.codehaus.sonar-plugins.cxx : cxx-squid jar 0.9
org.codehaus.sonar-plugins.cxx : cxx-checks jar 0.9
ant : ant jar 1.6
jdom : jdom jar 1.0
org.codehaus.sonar.common-rules : sonar-common-rules jar 1.1

provided (1)

Group / Artifact Type Version
org.codehaus.sonar : sonar-plugin-api jar 3.3

test (4)

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

Project Modules

There are no modules declared in this project.
SonarCloud / SonarSource SA
(Technical Debt analysis)
Quality Gate Coverage
DeepCode / DeepCode AG
(real-time AI powered semantic code analysis)
deepcode
JProfiler / ej-technologies GmbH
(when it comes to profiling: Java profiler tool)
JProfiler
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.

The sensors for reading reports can be used with the CXX plugin or SonarCFamily plugin.

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, C17
    • C++03, C++11, C++14,C++17, C++20
    • 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:

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
  3. Run an 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.

Versions

Version
0.9