sakura icon indicating copy to clipboard operation
sakura copied to clipboard

SonarQube Cppcheck Plugin を調査する

Open m-tmatma opened this issue 5 years ago • 4 comments

要望機能

SonarQube Cppcheck Plugin を調査する

関連:

  • #674
  • #368
  • https://github.com/sakura-editor/management-forum/issues/59

m-tmatma avatar Apr 07 '19 11:04 m-tmatma

メモ https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Code-checkers https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Extending-the-code-analysis

m-tmatma avatar Apr 07 '19 13:04 m-tmatma

sonar-cppcheckは、"SonarQube 6"で廃止されたAPIを使用しているため、古いSonarQubeでしか利用できないようです。 https://github.com/SonarQubeCommunity/sonar-cppcheck/issues/6#issuecomment-377563241

あと、間違えやすいことですが、SonarQubeとSonarCloudは別物です。

ghost avatar Feb 05 '22 05:02 ghost

SonarQubeはサーバアプリの名前 SonarCloudはクラウドサービスの名前

いずれもSonarScannerというクライアントアプリが解析したデータを受信して結果表示を行うものです。 だから、同じだと思っていても間違いではないです。 まぁ、別モノなんですけど(笑

berryzplus avatar Feb 05 '22 06:02 berryzplus

sonar-cxxだとCppcheckの結果を取り込めるそうですが、このプラグインはSonarCloudでは使えないっぽいです。 https://github.com/SonarOpenCommunity/sonar-cxx/wiki/sonar.cxx.cppcheck.reportPaths https://github.com/SonarOpenCommunity/sonar-cxx/issues/1302

ghost avatar Feb 05 '22 14:02 ghost