SonarQube社区版(v7.0)能否添加SonarCFamily插件?
Can I add the SonarCFamily plugin to SonarQube Community Edition v7.0?
Let's cut to the chase: you cannot add the SonarCFamily plugin to SonarQube Community Edition v7.0 — here's the breakdown:
- SonarCFamily (the official plugin for C/C++/Objective-C analysis) was and still is exclusive to SonarQube's paid editions (Developer, Enterprise, Data Center) even back in v7.0. The Community Edition has always been restricted to a small set of free, open-source language plugins, and C++ support was never part of that core offering.
- Your success with the cppcheck plugin makes total sense: that's a community-maintained, free plugin that pulls in results from the cppcheck static analysis tool. It's a solid workaround for basic C++ checks in Community Edition, but it doesn't match the depth of SonarCFamily — which includes tailored code smell detection, security hotspot analysis, and a far more comprehensive rule set built specifically for SonarQube.
If you need full-featured C++ analysis like SonarCFamily provides, you have two main paths:
- Upgrade to a paid SonarQube edition compatible with v7.0 (though keep in mind v7.0 is extremely outdated and no longer receives security updates — moving to a newer supported version would be the smarter long-term choice).
- Stick with open-source tools like cppcheck or Clang-Tidy, and integrate their results into SonarQube using custom scripts or other community plugins for basic coverage.
内容的提问来源于stack exchange,提问作者Amal Rahal
相关产品推荐
相关产品推荐

