【问题标题】:SonarLint is not showing the issues for the external plugin (PMD,FindBug,CheckStyle)SonarLint 未显示外部插件的问题(PMD、FindBug、CheckStyle)
【发布时间】:2017-10-24 22:58:36
【问题描述】:

我在 Eclipse Neon 中使用 SonarLint 版本为 3.1.0。 SonarQube 版本为 5.6.6。

在分析项目的问题时,注意到它没有显示外部插件(PMD、FindBug、CheckStyle)的问题。

Sonar Lint not in sync with server rules 链接我了解到sonarLint 不支持外部插件。在未来的 SonarLint 版本中是否有支持外部插件的想法?

谁能帮帮我。

【问题讨论】:

    标签: eclipse sonarqube sonarlint-eclipse


    【解决方案1】:

    即使是最新版本的 SonarLint 也不支持外部插件(pmd、findbugs、checkstyle 等)。它只使用通过 修改和优化外部插件规则编写的 sonarqube 中的 squid 规则.

    SonarLint 不支持外部插件的原因是 pmd,findbugs 以不同的方式分析代码 pmd 通过制作语法树来比较代码,findbugs 需要 字节码来分析。所以这占用了很多时间

    为了以更快、更有效的方式进行分析,sonarlint 仅支持 来自声纳服务器的 squid 规则。所以 我不认为会有更新 支持外部插件,如 pmd、findbugs 等。因为大多数外部插件规则在 SonarQube 中以优化的方式重写

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-11-25
      • 1970-01-01
      • 1970-01-01
      • 2017-07-30
      • 2010-09-16
      • 2021-01-13
      • 1970-01-01
      • 2012-08-08
      相关资源
      最近更新 更多