sonar-cxx

This repository contains a SonarQube plugin implementing C++ support.

Github星跟踪图

SonarCloud(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

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

主要指标

概览
名称与所有者SonarOpenCommunity/sonar-cxx
主编程语言Java
编程语言Java (语言数: 14)
平台
许可证GNU Lesser General Public License v3.0
所有者活动
创建于2012-10-09 12:48:03
推送于2025-04-22 19:53:10
最后一次提交2025-04-15 20:59:16
发布数44
最新版本名称latest-snapshot (发布于 )
第一版名称cxx-0.1 (发布于 )
用户参与
星数1k
关注者数68
派生数363
提交数4k
已启用问题?
问题数1217
打开的问题数15
拉请求数1357
打开的拉请求数1
关闭的拉请求数337
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?