【发布时间】:2017-04-12 00:13:37
【问题描述】:
我正在使用 SonarLint eclipse 插件评估 SonarQube 5.4。
SonarQube 以及插件已设置并正在运行。但现在我很困惑 SonarLint 应该如何在“连接模式”下运行:
- SonarLint 与 SonarQube 连接,并绑定到相应的项目。但有些问题仅在 SonarQube 中显示。我的理解是 SonarLint 应该能够识别像
Malicious code vulnerability - May expose internal representation by incorporating reference to mutable object这样的问题。但事实并非如此。 SonarQube 可以。 - 使用 SonarLint 分析单个文件时,SonarLint 控制台中有很多调试消息,例如
Class not found in resource cache : org/company/project/CommonSuperClass。但更糟糕的是:Class not found in resource cache : java/lang/Class。它应该这样做吗? - 我们特别有兴趣突出开发人员引入的问题。 SonarQube 连接了我们的 repo,并且在责备提交者方面做得很好。但似乎没有办法在 sonarlint 中显示 我自己的问题。
- 我想在我选择的时间运行 SonarLint 分析,因此我决定取消激活“自动运行 SonarLint”。但似乎我只能手动分析文件,不能分析包或项目。我又错过了什么?我不想点击我的〜2000个文件中的每一个并手动分析它。
【问题讨论】:
标签: eclipse sonarqube sonarlint