# SonarOpenCommunity/sonar-cxx

SonarQube C++ Community plugin (cxx plugin): This plugin adds C++ support to SonarQube with the focus on integration of existing C++ tools.

Repository: https://github.com/SonarOpenCommunity/sonar-cxx
Canonical: https://ross.abutalabs.com/products/sonar-cxx
Language: Java
License: LGPL-3.0
License Family: copyleft
Topics: sonarqube, plugin, community, free, open-source, cpp, cxx, technical-debt
Last push: 2026-08-25T18:56:00+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 60, longevity 100
- inputs: {"age_days": 5076, "days_push": 8, "days_rel": 107, "gap_med": 125.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1094, forks 370 (observed 2026-08-28T04:03:33.859637+00:00)

## What it is
A SonarQube community plugin that adds C and C++ support to SonarQube, focusing on integrating existing C++ analysis tools. It parses C/C++ source code and imports reports from tools like Cppcheck, Clang-Tidy, GCC, and Visual Studio analyzers into SonarQube's code quality dashboards.

## Use cases
- add c++ code quality analysis to sonarqube
- import cppcheck and clang-tidy results into sonarqube
- track technical debt in c++ projects
- analyze c++ code without buying sonarsource commercial plugin
- integrate existing c++ static analysis tools with sonarqube
- measure code coverage for c++ in sonarqube

## When to choose
- you use SonarQube and need free C/C++ support
- you already run C++ analysis tools and want their reports unified in SonarQube
- you want community-driven, open-source code quality analysis for C/C++

## When to avoid
- you need official SonarSource support or the commercial SonarCFamily features
- your project is not C/C++
- you don't use SonarQube at all

## Facets
- artifact type: plugin
- maturity: active
- function: code-review, linter, parser, monitoring
- domain: developer-tools, version-control, testing
- platform: windows, jvm, self-hosted
- tags: sonarqube, cpp, static-analysis, code-quality, technical-debt, cppcheck, clang-tidy, linux, docker

## Member repositories
- SonarOpenCommunity/sonar-cxx (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.859637+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:47:28.165973+00:00, confidence not recorded.
  - readme: https://github.com/SonarOpenCommunity/sonar-cxx (fetched 2026-08-28T04:03:33.859637+00:00, sha 23a7b14c5178)
- Data as of 2026-08-30T08:39:29.467469+00:00.
