| | |
|---|
Sonarcloud / Sonarsource SA (技術債務分析) | | |
jprofiler / ej-technologies gmbh (プロファイリングに関しては:Javaプロファイラーツール) | | |
githubアクション (Windows&Linux CI/CD) |  | ここから最新のスナップショットをダウンロードできます。 |
Sonarqube C ++コミュニティプラグイン( CXXプラグイン)
Sonarqubeは、コードの品質を管理するためのオープンプラットフォームです。このプラグインは、既存のC ++ツールの統合に重点を置いて、SonarqubeにC ++サポートを追加します。
読み取りレポート用のセンサーは、このCXXプラグインまたはSonarcfamilyプラグインで使用できます。
ライセンス
このプラグインはフリーソフトウェアです。 Free Software Foundationが公開しているように、GNU Lesser一般公開ライセンスの条件に基づいて、それを再配布したり、変更したりできます。ライセンスのバージョン3、または(オプションで)後のバージョンのいずれか。
特徴
- パーサーサポート
C++03 、 C++11 、 C++14 、 C++17 、 C++20 、 C++23-
C89 、 C99 、 C11 、 C17
- コンパイラ固有の拡張機能
- Microsoft Extensions:
C++/CLI 、 Attributed ATL - GNU拡張機能
CUDA拡張機能
- ランタイム環境用のMicrosoft WindowsとLinux
静的および動的コード分析用のセンサー:
- cppcheck警告サポート(http://cppcheck.sourceforge.net/)
- sonar.cxx.cppcheck.ReportPaths
- GCC/G ++警告サポート(https://gcc.gnu.org/)
- sonar.cxx.gcc.ReportPaths
- ビジュアルスタジオおよびコアガイドラインチェッカー警告サポート(https://www.visualstudio.com/)
- Clang Static Analyzerサポート(https://clang-analyzer.llvm.org/)
- sonar.cxx.clangsa.ReportPaths
- Clang-Tidy警告サポート(http://clang.llvm.org/extra/clang-tidy/)
- sonar.cxx.clangtidy.ReportPaths
- 推測警告サポート(https://fbinfer.com/)
- sonar.cxx.infer.reportpaths
- PC-LINT警告サポート(http://www.gimpel.com/)
- sonar.cxx.pclint.ReportPaths
- ラット(https://github.com/andrew-d/rough-auditing-tool-for-security)
- sonar.cxx.rats.ReportPaths
- Valgrind (http://valgrind.org/)
- sonar.cxx.valgrind.ReportPaths
- Vera ++ (https://bitbucket.org/verateam/vera/wiki/home)
- sonar.cxx.vera.reportpaths
- メモリ警告サポート(http://drmemory.org/)
- sonar.cxx.drmemory.ReportPaths
- 一般的な問題インポートフォーマットサポート
- 他のツールを統合できます。
- 一般的な問題インポートフォーマットサポート
- SARIFレポートからの問題のインポート
- sonar.cxx.other.ReportPaths
テストフレームワークセンサー:
- Xunitファイル形式
- sonar.cxx.xunit.ReportPaths
- Google Test(gtest)ファイル形式(https://github.com/google/googletest)
- sonar.cxx.xunit.ReportPaths
- boost.testファイル形式(https://www.boost.org/doc/libs/release/libs/test/)
- Sonar.cxx.xunit.ReportPaths with Sonar.cxx.xslt
- ctest(cmake)ファイル形式(https://cmake.org/cmake/help/latest/manual/ctest.1.html)
- sonar.cxx.xunit.reportpaths with ctest option
--output-junit <file>
- cpptestファイル形式(https://cpptest.sourceforge.io/)
- Sonar.cxx.xunit.ReportPaths with Sonar.cxx.xslt
- cppunitファイル形式(https://sourceforge.net/projects/cppunit/)
- Sonar.cxx.xunit.ReportPaths with Sonar.cxx.xslt
- vstestファイル形式(https://github.com/microsoft/vstest)
- sonar.cxx.vstest.ReportPaths
- nunitファイル形式(https://nunit.org/)
- sonar.cxx.nunit.reportpaths
- 他のツールを統合できます。
- 一般的なテスト実行レポートフォーマットサポート
- XLST経由で可能な適応:Sonar.cxx.xslt
対象センサー:
- ビジュアルスタジオカバレッジレポート(https://www.visualstudio.com/)
- sonar.cxx.vscoveragexml.ReportPaths
- bullseyecoverageレポート(http://www.bullseye.com/)
- sonar.cxx.bullseye.reportpaths
- Coberturaカバレッジレポート(http://cobertura.github.io/cobertura/)
- gcov/gcovrカバレッジレポートオプション
--xml https://gcovr.com/en/stable/guide.html - opencppcoverage with option
--export_type=cobertura (https://github.com/opencppcoverage/opencppcoverage/) - sonar.cxx.cobertura.ReportPaths
- Testwell CTC ++カバレッジレポート(https://www.verifysoft.com/en_ctcpp.html)
- sonar.cxx.ctctxt.ReportPaths
- 他のツールを統合できます。
- 一般的なテストカバレッジレポートフォーマットサポート
- XLST経由で可能な適応:Sonar.cxx.xslt
カスタマイズが簡単です
- 正規表現テンプレートによるカスタムルール可能性
- XPathテンプレートルールによるカスタムルール可能性
- カスタムルールを使用してCXXリポジトリを拡張します
- XMLルールの定義とレポートとの簡単なサードパーティのツール統合可能
- sonar.cxx.other.ReportPaths
- カスタムルールを追加する機能を提供します
- Sonarqube APIを使用して新しいルールを追加するJavaにSonarqubeプラグインを書く
クイックスタート
- Sonarqubeインスタンスをセットアップします
- プラグインをインストールします
- 分析を実行します
リソース
- 最新リリース
- 最新のスナップショットをダウンロードしてください
- ドキュメント
- トラッカーを発行します
貢献
貢献できます。助けが必要です。
代替案
SonarqubeでC ++サポートを探しているとき、それは唯一の選択ではありません
- SonarsourceのコマーシャルSonarcfamilyプラグイン
- CPPDependからの商用C/C ++プラグイン
- 商用PVS-Studioプラグイン
- Coverityプラグイン
あなたのニーズに合ったものを選択してください。