SonarQube Eclipse Plugin分析本地和远程有什么区别?

What is the difference between local and remote SonarQube Eclipse Plugin analysis?

据我了解,SonarQube 的 Eclipse 插件有两个选项:本地和远程分析。

它们有什么区别?

我们是否应该在本地安装Sonar Server来运行本地分析?

我们会在远程 Sonar Server 中看到远程分析的结果吗?

让我们从使用好的措辞开始:SonarQube Eclipse 插件已死,现在有用于 Eclipse 的 SonarLint:http://www.sonarlint.org/eclipse/index.html。这个 Eclipse 插件支持两种模式:

  1. "Standalone mode":这是默认的,不需要任何 SonarQube 服务器 运行。
  2. "Connected mode" :可以按需激活,使 SonarLint 在本地使用与 SonarQube 服务器远程使用的相同规则和分析器来分析同一项目。